WebSocketMessageQueue GetNextMessage Method C# API
Get the next WebSocketMessage in the queue. If the queue is empty, wait for up to timeout for a message to arrive.

Namespace: Facilita.Web
Assembly: 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

ExceptionCondition
TimeoutExceptionNo message arrived from the server before the timeout period elapsed.
See Also