Skip to content

Latest commit

 

History

History
95 lines (43 loc) · 1.31 KB

client.websocketconnectionoptions.md

File metadata and controls

95 lines (43 loc) · 1.31 KB

Home > @holochain/client > WebsocketConnectionOptions

WebsocketConnectionOptions interface

Options for a Websocket connection.

Signature:

export interface WebsocketConnectionOptions 

Properties

Property

Modifiers

Type

Description

defaultTimeout?

number

(Optional) Timeout to default to for all operations.

url?

URL

(Optional) The ws:// URL of the Websocket server to connect to. Not required when connecting to App API from a Launcher or Kangaroo environment.

wsClientOptions?

WsClientOptions

(Optional) Options to pass to the underlying websocket connection.