Web SDK - IGatewayIdentity

Home > rainway-sdk > IGatewayIdentity

IGatewayIdentity interface

The 'peer hello' message is sent alongside the WebSocket upgrade request as a subprotocol and initiates the Rainway Network handshake.


export interface IGatewayIdentity 


apiKeystringThe publishable API key of a organization
externalIdstringA unique value identifying a user or machine to a organization. This will most likely be that organization's concept of a User ID.
idbigintThe SPTP hostname of the connecting peer.