Get the next WebSocketMessage in the queue. If the queue is empty, wait for up to timeout for a message to arrive.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax
public WebSocketMessage GetNextMessage( TimeSpan timeout )
Parameters
- timeout
- Type: System TimeSpan
The maximum amount of time to wait for a message to arrive from the server.
Return Value
The next WebSocketMessage in the queue.Exceptions
Exception | Condition |
---|---|
TimeoutException | No message arrived from the server before the timeout period elapsed. |
See Also