WebSocketTransport Class

.NET Framework 4.5

Represents a client transport based on web socket.

System::Object
  Microsoft.AspNet.SignalR.WebSockets::WebSocketHandler
    Microsoft.AspNet.SignalR.Client.Transports::WebSocketTransport

Namespace:  Microsoft.AspNet.SignalR.Client.Transports
Assembly:  Microsoft.AspNet.SignalR.Client (in Microsoft.AspNet.SignalR.Client.dll)

public ref class WebSocketTransport : public WebSocketHandler, 
	IClientTransport, IDisposable

The WebSocketTransport type exposes the following members.

  NameDescription
Public methodWebSocketTransport()Initializes a new instance of the WebSocketTransport class.
Public methodWebSocketTransport(IHttpClient)Initializes a new instance of the WebSocketTransport class.
Top

  NameDescription
Public propertyErrorGets or sets the error during handling the web socket. (Inherited from WebSocketHandler.)
Public propertyMaxIncomingMessageSizeGets the maximum incoming message size. (Inherited from WebSocketHandler.)
Public propertyNameGets the transport name.
Public propertyReconnectDelayGets or sets the time needed before reconnection.
Public propertySupportsKeepAliveGets or sets a value that indicates whether or not the transport supports keep alive.
Top

  NameDescription
Public methodAbort
Public methodCloseAsync (Inherited from WebSocketHandler.)
Public methodDispose()Releases the resources used by the current instance of the WebSocketTransport class.
Protected methodDispose(Boolean)Releases the unmanaged resources used by the WebSocketTransport class, and optionally releases the managed resources associated with this object.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodLostConnectionLoses the connection of the client transport.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNegotiate
Public methodOnClose (Overrides WebSocketHandler::OnClose().)
Public methodOnErrorRaises an event when an error occurred during the transport. (Overrides WebSocketHandler::OnError().)
Public methodOnMessage(String)Raises an event when a message is transported. (Overrides WebSocketHandler::OnMessage(String).)
Public methodOnMessage(array<Byte>)Raises an event when a message is received. (Inherited from WebSocketHandler.)
Public methodOnOpenRaises an event when a transport has been opened. (Overrides WebSocketHandler::OnOpen().)
Public methodPerformConnect
Public methodProcessWebSocketRequestAsyncAsynchronously processes the request received by the handler. (Inherited from WebSocketHandler.)
Public methodSend(String)Sends a message associated with the handler. (Inherited from WebSocketHandler.)
Public methodSend(IConnection, String, String)
Public methodStartExecutes the socket transport.
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show: