PersistentConnection.AuthorizeRequest Method

.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)

Syntax

'Declaration
Protected Overridable Function AuthorizeRequest ( _
    request As IRequest _
) As Boolean
'Usage
Dim request As IRequest 
Dim returnValue As Boolean 

returnValue = Me.AuthorizeRequest(request)
protected virtual bool AuthorizeRequest(
    IRequest request
)
protected:
virtual bool AuthorizeRequest(
    IRequest^ request
)
abstract AuthorizeRequest : 
        request:IRequest -> bool  
override AuthorizeRequest : 
        request:IRequest -> bool
protected function AuthorizeRequest(
    request : IRequest
) : boolean

Parameters

Return Value

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

See Also

Reference

PersistentConnection Class

Microsoft.AspNet.SignalR Namespace