Connects to the hostname (default is "127.0.0.1") and port on the namedtransport (default is "tcp"), and resolves to the connection (Conn
).
Establishes a secure connection over TLS (transport layer security) usingan optional cert file, hostname (default is "127.0.0.1") and port. Thecert file is optional and if not included Mozilla's root certificates willbe 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.
Listen announces on the local transport address over TLS (transport layersecurity).
Returns an array of the network interface information.
Performs DNS resolution against the given query, returning resolvedrecords.
Start TLS handshake from an existing connection using an optional list ofCA certificates, and hostname (default is "127.0.0.1"). Specifying CA certsis optional. By default the configured root certificates are used. Usingthis function requires that the other end of the connection is prepared fora TLS handshake.
Shutdown socket send operations.
If Deno.resolveDns
is called with "CAA"
record typespecified, it will resolve with an array of objects with this interface.
A generic transport listener for message-oriented protocols.
A generic network listener for stream-oriented protocols.
Represents membership of a IPv4 multicast group.
Represents membership of a IPv6 multicast group.
If Deno.resolveDns
is called with "MX"
record typespecified, it will return an array of objects with this interface.
If Deno.resolveDns
is called with "NAPTR"
record typespecified, it will return an array of objects with this interface.
The information for a network interface returned from a call toDeno.networkInterfaces
.
Options which can be set when using Deno.resolveDns
.
If Deno.resolveDns
is called with "SOA"
record typespecified, it will return an array of objects with this interface.
If Deno.resolveDns
is called with "SRV"
record typespecified, it will return an array of objects with this interface.
Provides certified key material from strings. The key material is provided inPEM
-format (Privacy Enhanced Mail, https://www.rfc-editor.org/rfc/rfc1422) which can be identified by having-----BEGIN-----
and -----END-----
markers at the beginning and end of the strings. This type of key is not compatiblewith DER
-format keys which are binary.
Unstable options which can be set when opening a datagram listener viaDeno.listenDatagram
.
Options which can be set when opening a Unix listener viaDeno.listen
or Deno.listenDatagram
.
The type of the resource record to resolve via DNS usingDeno.resolveDns
.
Specialized listener that accepts TCP connections.
Provides TLS certified keys, ie: a key that has been certified by a trusted certificate authority.A certified key generally consists of a private key and certificate part.
Specialized listener that accepts TLS connections.
Specialized listener that accepts Unix connections.