PersistentConnection.Authorize Method
.NET Framework 4
Namespace: Microsoft.AspNet.SignalR
Assembly: Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)
Syntax
'Declaration
Public Function Authorize ( _
request As IRequest _
) As Boolean
'Usage
Dim instance As PersistentConnection
Dim request As IRequest
Dim returnValue As Boolean
returnValue = instance.Authorize(request)
public bool Authorize(
IRequest request
)
public:
bool Authorize(
IRequest^ request
)
member Authorize :
request:IRequest -> bool
public function Authorize(
request : IRequest
) : boolean
Parameters
- request
Type: Microsoft.AspNet.SignalR.IRequest
The IRequest for the current connection.
Return Value
Type: System.Boolean
Returns Boolean.