WebSocketTransport Class

.NET Framework 4.5

No content here will be updated; please do not add material here.

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

public ref class WebSocketTransport : public ForeverTransport

The WebSocketTransport type exposes the following members.

  NameDescription
Public propertyCancellationTokenGets the cancellation token used for the transport. (Overrides TransportDisconnectBase::CancellationToken.)
Public propertyConnectedGets or sets the connection function for the ForeverTransport. (Inherited from ForeverTransport.)
Protected propertyConnectionGets or sets the transport connection for the disconnection base of transport. (Inherited from TransportDisconnectBase.)
Protected propertyConnectionEndTokenGets the connection to end the operation for this token. (Inherited from TransportDisconnectBase.)
Public propertyConnectionIdGets or sets the ID of the connection. (Inherited from TransportDisconnectBase.)
Public propertyConnectTask (Inherited from TransportDisconnectBase.)
Protected propertyContextGets the host context associated with the transport disconnection base. (Inherited from TransportDisconnectBase.)
Public propertyDisconnectedGets or sets the disconnected property for the connection transports. (Inherited from TransportDisconnectBase.)
Public propertyDisconnectThresholdGets the time span to wait after the connection dies before firing the disconnecting the connection. (Inherited from TransportDisconnectBase.)
Protected propertyHeartbeatGets the transport heartbeat to manage the tracking state of connections. (Inherited from TransportDisconnectBase.)
Protected propertyHostShutdownToken (Inherited from TransportDisconnectBase.)
Protected propertyIsAbortRequestGets a value that represents the connection make a request to abort. (Inherited from TransportDisconnectBase.)
Public propertyIsAliveGets a value indicating whether the transport is alive. (Overrides TransportDisconnectBase::IsAlive.)
Public propertyIsConnectRequestGets a value that represents if the connections make a request. (Inherited from TransportDisconnectBase.)
Public propertyIsTimedOutGets a value that represents if the connection is timed out. (Inherited from TransportDisconnectBase.)
Protected propertyJsonSerializerGets the JsonSerializer for the forever transport. (Inherited from ForeverTransport.)
Protected propertyLastMessageIdGets the last message id for the forever transport. (Inherited from ForeverTransport.)
Public propertyOutputWriterGets the output writer that can write a sequential series of characters. (Inherited from TransportDisconnectBase.)
Public propertyReceivedGets or sets a function to receive for the forever transport. (Inherited from ForeverTransport.)
Public propertyReconnectedGets or sets the reconnected function for the forever transport. (Inherited from ForeverTransport.)
Public propertySupportsKeepAliveGets a value that represents if the transport supports keep alive. (Inherited from TransportDisconnectBase.)
Protected propertyTraceGets the source to trace the execution of code and associate trace messages with their source. (Inherited from TransportDisconnectBase.)
Public propertyTransportConnectedGets or sets the connected transport for the ForeverTransport. (Inherited from ForeverTransport.)
Public propertyUrlGets the URI of the connection. (Inherited from TransportDisconnectBase.)
Top

  NameDescription
Public methodAbort()Aborts the current task process for the TransportDisconnectBase. (Inherited from TransportDisconnectBase.)
Public methodAbort(Boolean)Aborts the current task process for the TransportDisconnectBase. (Inherited from TransportDisconnectBase.)
Public methodApplyStateApplies a new state to the connection. (Inherited from TransportDisconnectBase.)
Protected methodCreateResponseWriter (Overrides TransportDisconnectBase::CreateResponseWriter().)
Public methodDisconnectCauses the connection to disconnect. (Inherited from TransportDisconnectBase.)
Public methodDispose()Releases all resources used by the current instance of the TransportDisconnectBase class. (Inherited from TransportDisconnectBase.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the TransportDisconnectBase class and optionally releases the managed resources. (Inherited from TransportDisconnectBase.)
Public methodEndKills the connection. (Inherited from TransportDisconnectBase.)
Protected methodEnqueueOperation(Func<Task>)Adds the specified delegate function to end the task queue. (Inherited from TransportDisconnectBase.)
Protected methodEnqueueOperation(Func<Object, Task>, Object)Provides enqueue operation for the transports. (Inherited from ForeverTransport.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodIncrementErrorsIncrements the errors to the transport disconnection base. (Inherited from TransportDisconnectBase.)
Protected methodInitializePersistentStateInitializes the persistent state of the forever transport. (Inherited from ForeverTransport.)
Protected methodInitializeResponseInitializes the response of connection for the forever transport. (Inherited from ForeverTransport.)
Public methodKeepAliveKeeps the transport alive. (Overrides TransportDisconnectBase::KeepAlive().)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodOnSendingProvides the payload for an on sending transport. (Inherited from ForeverTransport.)
Protected methodOnSendingResponseProvides a response for the on sending methods. (Inherited from ForeverTransport.)
Public methodProcessRequestProcesses a connection request. (Overrides ForeverTransport::ProcessRequest(ITransportConnection).)
Protected methodProcessRequestCoreProvides a request to process the connection for the transport. (Inherited from ForeverTransport.)
Public methodSend(Object)Sends a value of the transport. (Overrides ForeverTransport::Send(Object).)
Public methodSend(PersistentResponse)Sends a web socket response. (Overrides ForeverTransport::Send(PersistentResponse).)
Public methodTimeoutGets called when connection is timed out. (Inherited from TransportDisconnectBase.)
Public methodToString (Inherited from Object.)
Top

No content here will be updated; please do not add material here.

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: