Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

§Namespaces

Deno

§Functions

Deno.connect

Connects to the hostname (default is "127.0.0.1") and port on the named transport (default is "tcp"), and resolves to the connection (Conn).

Deno.connectTls

Establishes a secure connection over TLS (transport layer security) using an optional cert file, hostname (default is "127.0.0.1") and port. The cert file is optional and if not included Mozilla's root certificates will be used (see also https://github.com/ctz/webpki-roots for specifics)

Deno.listen

Listen announces on the local transport address.

Deno.listenTls

Listen announces on the local transport address over TLS (transport layer security).

Deno.shutdown

Shutdown socket send operations.

Deno.startTls

Start TLS handshake from an existing connection using an optional list of CA certificates, and hostname (default is "127.0.0.1"). Specifying CA certs is optional. By default the configured root certificates are used. Using this function requires that the other end of the connection is prepared for a TLS handshake.

§Interfaces

Deno.Conn
Deno.ConnectOptions
Deno.ConnectTlsOptions
Deno.Listener

A generic network listener for stream-oriented protocols.

Deno.ListenOptions
Deno.ListenTlsOptions
Deno.NetAddr
Deno.StartTlsOptions
Deno.TcpConn
Deno.TlsConn
Deno.TlsHandshakeInfo
Deno.TlsListener

Specialized listener that accepts TLS connections.

Deno.UnixAddr
Deno.UnixConn

§Type Aliases

Deno.Addr