| WebSocketMessage Methods |
The WebSocketMessage type exposes the following members.
| Name | Description | |
|---|---|---|
| Abort | ||
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| PayloadAsBytes |
Copy the WebSocketMessage's payload into a new Byte Array.
| |
| PayloadAsString |
Return the WebSocketMessage's payload as a string.
| |
| SetPayload(Byte) |
Copies the provided byte array over the WebSocketMessage's payload, masking if needed.
| |
| SetPayload(String) |
Replaces the WebSocketMessage's payload with the specified string, masking if needed.
| |
| ToByteArray | ||
| ToString | (Overrides ObjectToString.) |