import { Deno } from "https://deno.land/x/deno@v2.0.4/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 list of CA certs, hostname (default is "127.0.0.1") and port. | |
Listen announces on the local transport address. | |
Listen announces on the local transport address over TLS (transport layer security). | |
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. | |
Provides certified key material from strings. The key material is provided in
| |
Options which can be set when opening a Unix listener via
|
Type Aliases
Specialized listener that accepts TCP connections. | |
Specialized listener that accepts TLS connections. | |
Specialized listener that accepts Unix connections. |