HubConnectionConfig

interface
devtools-ui/src/types.ts:37

Connection configuration for the DevTools hub.

Pass this to HubProvider to control how the extension connects to the hub server. The only required field is port; all other fields have sensible defaults.

Properties

NameTypeDescription
authToken?stringShared secret required by a hub that was started with one.
autoReconnect?booleanAuto-reconnect on disconnect.
extensionName?stringDisplay name for this extension instance.
host?stringHub server host.
maxReconnectAttempts?numberMaximum reconnect attempts.
portnumberHub server port.
WebSocket?(url: string) => WebSocketCustom WebSocket constructor.