PersistentConnection.AuthorizeRequest Method

Visual Studio 2010
.NET Framework 4

Called before every request and gives a user authorization to access the request.

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

protected virtual bool AuthorizeRequest(
	IRequest request
)

Parameters

request
Type: Microsoft.AspNet.SignalR.IRequest
The IRequest for the current connection.

Return Value

Type: System.Boolean
A Boolean value that represents if the request is authorized.
Show: