HttpHubConnectionBuilder.withHubProtocol(HubProtocol protocol) Method
Definition
Sets the HubProtocol to be used by the HubConnection.
public HttpHubConnectionBuilder withHubProtocol(HubProtocol protocol)
Parameters
- protocol
- HubProtocol
The HubProtocol to be used by the HubConnection.
Returns
This instance of the HttpHubConnectionBuilder.