Skip to main content

Configurations for the io.Connect Gateway connection.

Properties (8)

Property Type Default Required Description
gwTokenProvider⚓︎ GwTokenProvider x x

A way to pass custom token provider for Gateway v.3 tokens.

inproc⚓︎ InprocGWSettings x x

Connect with GW in memory

protocolVersion⚓︎ number x x

Legacy (Version of the Gateway that you are connected to)

reconnectAttempts⚓︎ number 10 x

Number of reconnect attempts made reconnectInterval apart after the connection is lost. After them the connection keeps trying, further apart each time and at most 30 seconds apart, until logout() or done(). 0 or less turns automatic reconnection off.

reconnectInterval⚓︎ number 500 x

Reconnect interval in milliseconds.

sharedWorker⚓︎ string x x x
webPlatform⚓︎ WebPlatformConnection x x

An object containing the configuration settings when core is operating in a web platform environment

ws⚓︎ string x x

URL for the WebSocket connections to the Gateway.