WebSocketClient.Poll Method
Namespace: Rebex.Net
Assembly: Rebex.WebSocket.dll (version 7.0.9119)
Poll(Int32)
Wait until a message fragment is received or the specified timeout has elapsed.
Declaration
public bool Poll(int millisecondsTimeOut)
Parameters
Type | Name | Description |
---|---|---|
Int32 | millisecondsTimeOut | Specifies the maximum amount of time to wait for a message fragment to be received. |
Returns
Type | Description |
---|---|
Boolean | True if a message is available to be received. |