The WebSocketClient type exposes the following members.

Methods

  NameDescription
Public methodSupported by the .NET Compact FrameworkAbort
Aborts the WebSocket and all active operations.
Public methodSupported by the .NET Compact FrameworkClose()()()()
Closes the sending part of the WebSocket (unless already closed) and waits for the receiving part to be closed.
Public methodSupported by the .NET Compact FrameworkClose(WebSocketCloseStatus, String)
Closes the sending part of the WebSocket (unless already closed) and waits for the receiving part to be closed.
Public methodSupported by the .NET Compact FrameworkCloseOutput
Closes the sending part of the WebSocket, making it possible to still receive messages from the server.
Public methodSupported by the .NET Compact FrameworkConnect(String)
Establish a WebSocket connection to the specified URL.
Public methodSupported by the .NET Compact FrameworkConnect(Uri)
Establish a WebSocket connection to the specified URL.
Public methodSupported by the .NET Compact FrameworkDispose
Disposes the WebSocketClient object and the underlying connection.
Public methodSupported by the .NET Compact FrameworkEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkPoll
Wait until a message fragment is received or the specified timout has elapsed.
Public methodSupported by the .NET Compact FrameworkReceive(ArraySegment<(Of <<'(Byte>)>>))
Receives a message fragment from the server.
Public methodSupported by the .NET Compact FrameworkReceive<(Of <<'(T>)>>)()()()()
Receives a message of the specified type from the server. Only String, byte array and Object types are currently supported.
Public methodSupported by the .NET Compact FrameworkSend(array<Byte>[]()[][])
Sends the specified binary message to the server.
Public methodSupported by the .NET Compact FrameworkSend(String)
Sends the specified text message to the server.
Public methodSupported by the .NET Compact FrameworkSend(ArraySegment<(Of <<'(Byte>)>>), WebSocketMessageType, Boolean)
Sends the specified message fragment to the server.
Public methodSupported by the .NET Compact FrameworkSetSocketFactory
Sets the socket factory to be used to create communication sockets.
Public methodSupported by the .NET Compact FrameworkToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also