Preparing search index...
The search index is not available
@relaycorp/relaynet-core
@relaycorp/relaynet-core
GSCClient
Interface GSCClient
interface
GSCClient
{
collectParcels
:
(
(
nonceSigners
,
streamingMode
,
handshakeCallback
?
)
=>
AsyncIterable
<
ParcelCollection
>
)
;
deliverParcel
:
(
(
parcelSerialized
,
signer
)
=>
Promise
<
void
>
)
;
preRegisterNode
:
(
(
nodePublicKey
)
=>
Promise
<
ArrayBuffer
>
)
;
registerNode
:
(
(
pnrrSerialized
)
=>
Promise
<
PrivateNodeRegistration
>
)
;
}
Index
Properties
collect
Parcels
deliver
Parcel
pre
Register
Node
register
Node
Properties
Readonly
collect
Parcels
collect
Parcels
:
(
(
nonceSigners
,
streamingMode
,
handshakeCallback
?
)
=>
AsyncIterable
<
ParcelCollection
>
)
Type declaration
(
nonceSigners
,
streamingMode
,
handshakeCallback
?
)
:
AsyncIterable
<
ParcelCollection
>
Parameters
nonceSigners
:
readonly
ParcelCollectionHandshakeSigner
[]
streamingMode
:
StreamingMode
Optional
handshakeCallback
:
(
(
)
=>
void
)
(
)
:
void
Returns
void
Returns
AsyncIterable
<
ParcelCollection
>
Readonly
deliver
Parcel
deliver
Parcel
:
(
(
parcelSerialized
,
signer
)
=>
Promise
<
void
>
)
Type declaration
(
parcelSerialized
,
signer
)
:
Promise
<
void
>
Parameters
parcelSerialized
:
ArrayBuffer
signer
:
ParcelDeliverySigner
Returns
Promise
<
void
>
Readonly
pre
Register
Node
pre
Register
Node
:
(
(
nodePublicKey
)
=>
Promise
<
ArrayBuffer
>
)
Type declaration
(
nodePublicKey
)
:
Promise
<
ArrayBuffer
>
Parameters
nodePublicKey
:
CryptoKey
Returns
Promise
<
ArrayBuffer
>
Readonly
register
Node
register
Node
:
(
(
pnrrSerialized
)
=>
Promise
<
PrivateNodeRegistration
>
)
Type declaration
(
pnrrSerialized
)
:
Promise
<
PrivateNodeRegistration
>
Parameters
pnrrSerialized
:
ArrayBuffer
Returns
Promise
<
PrivateNodeRegistration
>
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
collect
Parcels
deliver
Parcel
pre
Register
Node
register
Node
@relaycorp/relaynet-core
BindingType
StreamingMode
CMSError
Cargo
CargoCollectionAuthorization
CargoCollectionRequest
CargoMessageSet
Certificate
CertificateError
CertificateRotation
CertificateStore
CertificationPath
Channel
Endpoint
EndpointManager
EnvelopedData
Gateway
GatewayChannel
GatewayManager
HandshakeChallenge
HandshakeResponse
Loading...
Generated using
TypeDoc