Interface UhstRelayClient
Methods
initHost
-
Parameters
-
Optional hostId: undefined | string
sendMessage
- sendMessage(token: string, message: any, sendUrl?: undefined | string): Promise<any>
-
Parameters
-
token: string
-
message: any
-
Optional sendUrl: undefined | string
Returns Promise<any>
subscribeToMessages
-
Parameters
-
token: string
-
-
Optional relayErrorHandler: Function
-
-
Optional receiveUrl: undefined | string