Ende.QuicEndpoint
class ยท experimental
class Ende.QuicEndpointUNSTABLE: New API, yet to be vetted.
Constructors
constructor
new QuicEndpoint(options?: QuicEndpointOptions)experimental
Create a QUIC endpoint which may be used for client or server connections.
Requires allow-net permission.
Properties
addr
readonly addr: NetAddrReturn the address of the QuicListener.
Methods
listen
listen(options: QuicListenOptions): QuicListenerexperimental
UNSTABLE: New API, yet to be vetted. Listen announces on the local transport address over QUIC.
close
close(info?: QuicCloseInfo): voidCloses the endpoint. All associated connections will be closed and incoming connections will be rejected.