Ende.QuicIncoming
interface · experimental
interface Ende.QuicIncomingUNSTABLE: New API, yet to be vetted. An incoming connection for which the server has not yet begun its part of the handshake.
Properties
localIp
readonly localIp: stringThe local IP address which was used when the peer established the connection.
remoteAddr
readonly remoteAddr: NetAddrThe peer’s UDP address.
remoteAddressValidated
readonly remoteAddressValidated: booleanWhether the socket address that is initiating this connection has proven that they can receive traffic.
Methods
accept
accept<ZRTT extends boolean>(options?: QuicAcceptOptions<ZRTT>): ZRTT extends true ? QuicConn : Promise<QuicConn>Accept this incoming connection.
refuse
refuse(): voidRefuse this incoming connection.
ignore
ignore(): voidIgnore this incoming connection attempt, not sending any packet in response.