Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Net.​WebSockets.​WebSocketReceiveResult
Assembly: System.Net.WebSockets
Inheritance: object → WebSocketReceiveResult
An instance of this class represents the result of performing a single ReceiveAsync operation on a WebSocket.
Properties
public
WebSocketCloseStatus?
CloseStatus
Indicates the reason why the remote endpoint initiated the close handshake.
public
string
CloseStatusDescription
Returns the optional description that describes why the close handshake has been initiated by the remote endpoint.
public
int
Count
Indicates the number of bytes that the WebSocket received.
public
bool
EndOfMessage
Indicates whether the message has been received completely.
public
WebSocketMessageType
MessageType
Indicates whether the current message is a UTF-8 message or a binary message.
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object