HttpHubConnectionBuilder.withHubProtocol(HubProtocol protocol) Method

Definition

public HttpHubConnectionBuilder withHubProtocol(HubProtocol protocol)

Sets the HubProtocol to be used by the HubConnection.

Parameters

protocol
HubProtocol

The HubProtocol to be used by the HubConnection.

Returns

This instance of the HttpHubConnectionBuilder.

Applies to