Preparing search index...
The search index is not available
@matrixai/quic
@matrixai/quic
utils
validateToken
Function validateToken
validate
Token
(
tokenBuffer
,
peerHost
,
crypto
)
:
Promise
<
QUICConnectionId
|
undefined
>
Parameters
tokenBuffer
:
Buffer
peerHost
:
Host
crypto
:
QUICServerCrypto
Returns
Promise
<
QUICConnectionId
|
undefined
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@matrixai/quic
errors
events
native
utils
text
Decoder
text
Encoder
buffer
Wrap
build
Address
collectPEMs
decode
Connection
Id
der
ToPEM
encode
Connection
Id
format
Error
fromIPv4
MappedIPv6
is
Host
Wildcard
isIPv4
isIPv4
MappedIPv6
isIPv4
MappedIPv6
Dec
isIPv4
MappedIPv6
Hex
isIPv6
is
Port
is
Stream
Bidirectional
is
Stream
Client
Initiated
is
Stream
Reset
is
Stream
Server
Initiated
is
Stream
Stopped
is
Stream
Unidirectional
mint
Token
pem
ToDER
promise
promisify
resolve
Host
resolve
Hostname
resolves
ZeroIP
to
CanonicalIP
toIPv4
MappedIPv6
Dec
toIPv4
MappedIPv6
Hex
to
Port
validate
Target
validate
Token
QUICClient
QUICConnection
QUICConnection
Id
QUICConnection
Map
QUICServer
QUICSocket
QUICStream
Address
Callback
Class
Client
Crypto
Ops
Connection
Id
Connection
Id
String
Connection
Metadata
Host
Hostname
Opaque
Port
Promise
Deconstructed
QUICClient
Config
Input
QUICClient
Crypto
QUICConfig
QUICServer
Config
Input
QUICServer
Crypto
QUICStream
Map
Remote
Info
Resolve
Hostname
Server
Crypto
Ops
Stream
Code
To
Reason
Stream
Id
Stream
Reason
To
Code
TLSVerify
Callback
Generated using
TypeDoc