Click or drag to resize
WebSocketMessage Methods

The WebSocketMessage type exposes the following members.

Methods
  NameDescription
Public methodAbort
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPayloadAsBytes
Copy the WebSocketMessage's payload into a new Byte Array.
Public methodPayloadAsString
Return the WebSocketMessage's payload as a string.
Public methodSetPayload(Byte)
Copies the provided byte array over the WebSocketMessage's payload, masking if needed.
Public methodSetPayload(String)
Replaces the WebSocketMessage's payload with the specified string, masking if needed.
Public methodToByteArray
Public methodToString (Overrides ObjectToString.)
Top
See Also