PersistentConnection.ProcessRequest Method

Visual Studio 2010
.NET Framework 4

Handles all requests for a PersistentConnection.

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

public virtual Task ProcessRequest(
	HostContext context
)

Parameters

context
Type: Microsoft.AspNet.SignalR.Hosting.HostContext
The HostContext for the current request.

Return Value

Type: System.Threading.Tasks.Task
A Task that completes when the PersistentConnection pipeline is complete.

ExceptionCondition
InvalidOperationException

Thrown if the connection wasn't initialized. Thrown if the transport wasn't specified. Thrown if the connection ID wasn't specified.

Show: