function
quic.listEndpoints
Returns the list of all QuicEndpoint instances. By default, only active endpoints are returned.
Referenced types
interface ListEndpointsOptions
- active?: boolean
If
true(the default), only returns endpoints that are active (not destroyed, not closing, and not busy). Iffalsereturns all endpoints.
namespace QuicEndpoint
class Stats
A view of the collected statistics for an endpoint.
- readonly destroyedAt: bigint
A timestamp indicating the moment the endpoint was destroyed. Read only.
- readonly immediateCloseCount: bigint
The total number of immediate connection close packets sent by this endpoint. Read only.
- readonly immediateCloseRateLimited: bigint
The total number of immediate connection close packets dropped by the global rate limiter. Read only.
- readonly packetsBlocked: bigint
The total number of incoming packets dropped by the block list filter. Read only.
- readonly packetsReceived: bigint
The total number of QUIC packets successfully received by this endpoint. Read only.
- readonly packetsSent: bigint
The total number of QUIC packets successfully sent by this endpoint. Read only.
- readonly retryRateLimited: bigint
The total number of retry packets dropped by the global rate limiter. Read only. A non-zero value indicates the endpoint is under retry flood pressure.
- readonly serverBusyCount: bigint
The total number of times an initial packet was rejected due to the endpoint being marked busy. Read only.
- readonly serverSessions: bigint
The total number of peer-initiated sessions received by this endpoint. Read only.
- readonly sessionCreationRateLimited: bigint
The total number of session creation attempts dropped by the per-host rate limiter. Read only. A non-zero value indicates one or more remote addresses are creating sessions faster than the configured rate allows.
- readonly statelessResetCount: bigint
The total number of stateless reset packets sent by this endpoint. Read only.
- readonly statelessResetRateLimited: bigint
The total number of stateless reset packets dropped by the global rate limiter. Read only.
- readonly versionNegotiationCount: bigint
The total number of version negotiation packets sent by this endpoint. Read only.
- readonly versionNegotiationRateLimited: bigint
The total number of version negotiation packets dropped by the global rate limiter. Read only.