Skip to main content

class Deno.QuicEndpoint

unstable

Constructors #

#QuicEndpoint(options?: QuicEndpointOptions)
new

Create a QUIC endpoint which may be used for client or server connections.

Requires allow-net permission.

Properties #

#addr: NetAddr
readonly

Return the address of the QuicListener.

Methods #

#close(info?: QuicCloseInfo): void

Closes the endpoint. All associated connections will be closed and incoming connections will be rejected.

Listen announces on the local transport address over QUIC.

Did you find what you needed?

Privacy policy