ApiInboxInterfaces
Interface: MailboxOptions
Defined in: packages/core/src/network/relays.ts:84
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
timeoutMs? | readonly | number | How long to wait for a relay to answer. Default 8 seconds. | packages/core/src/network/relays.ts:86 |
WebSocket? | readonly | { new (url, protocols?): WebSocket; CLOSED: 3; CLOSING: 2; CONNECTING: 0; OPEN: 1; prototype: WebSocket; } | The WebSocket to use. Default the global one (browsers, Node 22+). | packages/core/src/network/relays.ts:88 |
WebSocket.CLOSED | readonly | 3 | - | apps/docs/node_modules/typescript/lib/lib.dom.d.ts:40941 |
WebSocket.CLOSING | readonly | 2 | - | apps/docs/node_modules/typescript/lib/lib.dom.d.ts:40940 |
WebSocket.CONNECTING | readonly | 0 | - | apps/docs/node_modules/typescript/lib/lib.dom.d.ts:40938 |
WebSocket.OPEN | readonly | 1 | - | apps/docs/node_modules/typescript/lib/lib.dom.d.ts:40939 |
WebSocket.prototype | public | WebSocket | - | apps/docs/node_modules/typescript/lib/lib.dom.d.ts:40936 |