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
).
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.
Listen announces on the local transport address over TLS (transport layer security).
Returns an array of the network interface information.
Performs DNS resolution against the given query, returning resolved records.
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.
Shutdown socket send operations.
If Deno.resolveDns
is called with "CAA"
record type
specified, 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 type
specified, it will return an array of objects with this interface.
If Deno.resolveDns
is called with "NAPTR"
record type
specified, it will return an array of objects with this interface.
The information for a network interface returned from a call to
Deno.networkInterfaces
.
Options which can be set when using Deno.resolveDns
.
If Deno.resolveDns
is called with "SOA"
record type
specified, it will return an array of objects with this interface.
If Deno.resolveDns
is called with "SRV"
record type
specified, it will return an array of objects with this interface.
Provides certified key material from strings. The key material is provided in
PEM
-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 compatible
with DER
-format keys which are binary.
UNSTABLE: New API, yet to be vetted.
Options which can be set when opening a Unix listener via
Deno.listen
or Deno.listenDatagram
.
The type of the resource record to resolve via DNS using
Deno.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.