HubConnectionConfig
interfaceConnection 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
| Name | Type | Description |
|---|---|---|
authToken? | string | Shared secret required by a hub that was started with one. |
autoReconnect? | boolean | Auto-reconnect on disconnect. |
extensionName? | string | Display name for this extension instance. |
host? | string | Hub server host. |
maxReconnectAttempts? | number | Maximum reconnect attempts. |
port | number | Hub server port. |
WebSocket? | (url: string) => WebSocket | Custom WebSocket constructor. |