import { Deno } from "https://deno.land/x/deno@v1.39.0/ext/net/lib.deno_net.d.ts";
Functions
Connects to the hostname (default is "127.0.0.1") and port on the named
transport (default is "tcp"), and resolves to the connection ( | |
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) | |
Listen announces on the local transport address. | |
Listen announces on the local transport address over TLS (transport layer security). | |
Shutdown socket send operations. | |
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
A generic network listener for stream-oriented protocols. | |
Type Aliases
Specialized listener that accepts TLS connections. |