- Preparing search index...
- The search index is not available
@matrixai/quic
Methods
activeSourceCids
- activeSourceCids(): number
-
Returns number
applicationProto
- applicationProto(): Uint8Array
-
Returns Uint8Array
availableDcids
- availableDcids(): number
-
Returns number
close
- close(app, err, reason): null | void
-
Parameters
-
app: boolean
-
err: number
-
reason: Uint8Array
Returns null | void
destinationId
- destinationId(): Uint8Array
-
Returns Uint8Array
dgramMaxWritableLen
- dgramMaxWritableLen(): null | number
-
Returns null | number
dgramPurgeOutgoing
- dgramPurgeOutgoing(f): void
-
Parameters
-
f: ((arg0) => boolean)
-
- (arg0): boolean
-
Returns boolean
Returns void
dgramRecv
- dgramRecv(data): null | number
-
Returns null | number
dgramRecvFrontLen
- dgramRecvFrontLen(): null | number
-
Returns null | number
dgramRecvPeek
- dgramRecvPeek(data, len): null | number
-
Parameters
-
data: Uint8Array
-
len: number
Returns null | number
dgramRecvQueueByteSize
- dgramRecvQueueByteSize(): number
-
Returns number
dgramRecvQueueLen
- dgramRecvQueueLen(): number
-
Returns number
dgramRecvVec
- dgramRecvVec(): null | Uint8Array
-
Returns null | Uint8Array
dgramSend
- dgramSend(data): null | void
-
Returns null | void
dgramSendQueueByteSize
- dgramSendQueueByteSize(): number
-
Returns number
dgramSendQueueLen
- dgramSendQueueLen(): number
-
Returns number
dgramSendVec
- dgramSendVec(data): null | void
-
Returns null | void
isClosed
- isClosed(): boolean
-
Returns boolean
isDgramRecvQueueFull
- isDgramRecvQueueFull(): boolean
-
Returns boolean
isDgramSendQueueFull
- isDgramSendQueueFull(): boolean
-
Returns boolean
isDraining
- isDraining(): boolean
-
Returns boolean
isEstablished
- isEstablished(): boolean
-
Returns boolean
isInEarlyData
- isInEarlyData(): boolean
-
Returns boolean
isPathValidated
- isPathValidated(from, to): boolean
-
Returns boolean
isReadable
- isReadable(): boolean
-
Returns boolean
isResumed
- isResumed(): boolean
-
Returns boolean
isTimedOut
- isTimedOut(): boolean
-
Returns boolean
maxActiveSourceCids
- maxActiveSourceCids(): number
-
Returns number
maxSendUdpPayloadSize
- maxSendUdpPayloadSize(): number
-
Returns number
migrate
- migrate(localHost, peerHost): number
-
Returns number
migrateSource
- migrateSource(localHost): number
-
Returns number
newSourceCid
- newSourceCid(scid, resetToken, retireIfNeeded): number
-
Parameters
-
scid: Uint8Array
-
resetToken: bigint
-
retireIfNeeded: boolean
Returns number
onTimeout
- onTimeout(): void
-
Returns void
peerCertChain
- peerCertChain(): null | Uint8Array[]
-
Returns null | Uint8Array[]
peerStreamsLeftBidi
- peerStreamsLeftBidi(): number
-
Returns number
peerStreamsLeftUni
- peerStreamsLeftUni(): number
-
Returns number
probePath
- probePath(localHost, peerHost): number
-
Returns number
recv
- recv(data, recvInfo): number
-
Returns number
retireDestinationCid
- retireDestinationCid(dcidSeq): void
-
Returns void
retiredScidNext
- retiredScidNext(): null | Uint8Array
-
Returns null | Uint8Array
sendAckEliciting
- sendAckEliciting(): void
-
Returns void
sendOnPath
- sendOnPath(data, from?, to?): null | [number, SendInfo]
-
Returns null | [number, SendInfo]
sendQuantum
- sendQuantum(): number
-
Returns number
sendQuantumOnPath
- sendQuantumOnPath(localHost, peerHost): number
-
Returns number
serverName
- serverName(): null | string
-
Returns null | string
session
- session(): null | Uint8Array
-
Returns null | Uint8Array
setKeylog
- setKeylog(path): void
-
Returns void
setSession
- setSession(session): void
-
Returns void
sourceCidsLeft
- sourceCidsLeft(): number
-
Returns number
sourceId
- sourceId(): Uint8Array
-
Returns Uint8Array
streamCapacity
- streamCapacity(streamId): number
-
Returns number
streamFinished
- streamFinished(streamId): boolean
-
Returns boolean
streamPriority
- streamPriority(streamId, urgency, incremental): void
-
Parameters
-
streamId: number
-
urgency: number
-
incremental: boolean
Returns void
streamReadable
- streamReadable(streamId): boolean
-
Returns boolean
streamRecv
- streamRecv(streamId, data): null | [number, boolean]
-
Parameters
-
streamId: number
-
data: Uint8Array
Returns null | [number, boolean]
streamSend
- streamSend(streamId, data, fin): null | number
-
Parameters
-
streamId: number
-
data: Uint8Array
-
fin: boolean
Returns null | number
streamShutdown
- streamShutdown(streamId, direction, err): null | void
-
Parameters
-
streamId: number
-
-
err: number
Returns null | void
streamWritable
- streamWritable(streamId, len): boolean
-
Parameters
-
streamId: number
-
len: number
Returns boolean
timeout
- timeout(): null | number
-
Returns null | number
traceId
- traceId(): string
-
Returns string