Skip to content

RelayNodeOptions

type RelayNodeOptions<T> =
| Omit<T, "createTransport"> & RelayNodeTrustOptions & object
| T & object;

Defined in: relay-sdks/ts/src/node.ts:67

A role’s connection options in Node: either the native QUIC adapter’s trust options (ca, serverCertificateHashes), or a createTransport of the caller’s own, which replaces the adapter. Both at once is a TypeError, since the trust options would go unused.

Type Parameter
T extends ConnectRelayOptions