Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/client / / TransportOptions
Interface: TransportOptions
Defined in: packages/client/src/transport/types.ts:24
Stable shape consumed by every transport implementation.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
auth | readonly | TransportAuth | - | packages/client/src/transport/types.ts:26 |
clientId? | readonly | string | Per-connection identifier surfaced on diagnostics + reconnects. | packages/client/src/transport/types.ts:31 |
EventSource? | readonly | { (url, eventSourceInitDict?): EventSource; CLOSED: 2; CONNECTING: 0; OPEN: 1; prototype: EventSource; } | - | packages/client/src/transport/types.ts:29 |
EventSource.CLOSED | readonly | 2 | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11555 |
EventSource.CONNECTING | readonly | 0 | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11553 |
EventSource.OPEN | readonly | 1 | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11554 |
EventSource.prototype | public | EventSource | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:11551 |
fetch? | readonly | (input, init?) => Promise<Response> | - | packages/client/src/transport/types.ts:27 |
url | readonly | string | - | packages/client/src/transport/types.ts:25 |
WebSocket? | readonly | { (url, protocols?): WebSocket; CLOSED: 3; CLOSING: 2; CONNECTING: 0; OPEN: 1; prototype: WebSocket; } | - | packages/client/src/transport/types.ts:28 |
WebSocket.CLOSED | readonly | 3 | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:36131 |
WebSocket.CLOSING | readonly | 2 | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:36130 |
WebSocket.CONNECTING | readonly | 0 | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:36128 |
WebSocket.OPEN | readonly | 1 | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:36129 |
WebSocket.prototype | public | WebSocket | - | node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.dom.d.ts:36126 |