Skip to main content
Deno.QuicIncoming - Deno documentation
interface Deno.QuicIncoming
Unstable

An incoming connection for which the server has not yet begun its part of the handshake.

Properties

readonly
localIp: string

The local IP address which was used when the peer established the connection.

The peer’s UDP address.

readonly
remoteAddressValidated: boolean

Whether the socket address that is initiating this connection has proven that they can receive traffic.

Methods

accept<ZRTT extends boolean>(options?: QuicAcceptOptions<ZRTT>): ZRTT extends true ? QuicConn : Promise<QuicConn>

Accept this incoming connection.

refuse(): void

Refuse this incoming connection.

ignore(): void

Ignore this incoming connection attempt, not sending any packet in response.

Back to top