HttpHubConnectionBuilder.withHandshakeResponseTimeout(long timeoutInMilliseconds) Method

Definition

public HttpHubConnectionBuilder withHandshakeResponseTimeout(long timeoutInMilliseconds)

Sets the duration the HubConnection should wait for a Handshake Response from the server.

Parameters

timeoutInMilliseconds
long

The duration (specified in milliseconds) that the HubConnection should wait for a Handshake Response from the server.

Returns

This instance of the HttpHubConnectionBuilder.

Applies to