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.

Signature:

export interface IGatewayIdentity 

Properties

PropertyTypeDescription
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.