HttpBasedTransport.Negotiate Method

.NET Framework 4.5

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

Syntax

'Declaration
Public Function Negotiate ( _
    connection As IConnection _
) As Task(Of NegotiationResponse)
'Usage
Dim instance As HttpBasedTransport 
Dim connection As IConnection 
Dim returnValue As Task(Of NegotiationResponse)

returnValue = instance.Negotiate(connection)
public Task<NegotiationResponse> Negotiate(
    IConnection connection
)
public:
virtual Task<NegotiationResponse^>^ Negotiate(
    IConnection^ connection
) sealed
abstract Negotiate : 
        connection:IConnection -> Task<NegotiationResponse> 
override Negotiate : 
        connection:IConnection -> Task<NegotiationResponse> 
public final function Negotiate(
    connection : IConnection
) : Task<NegotiationResponse>

Parameters

Return Value

Type: System.Threading.Tasks.Task<NegotiationResponse>

Implements

IClientTransport.Negotiate(IConnection)

See Also

Reference

HttpBasedTransport Class

Microsoft.AspNet.SignalR.Client.Transports Namespace