Hub Connection Builder Class
A builder for configuring HubConnection instances.
public class HttpHubConnectionBuilder
Builds a new instance of HubConnection.
Sets a method that will be called when constructing the HttpClient to allow customization such as certificate validation, proxies, and cookies. By default the client will have a cookie jar added and a read timeout for LongPolling.
Indicates to the HubConnection that it should skip the negotiate process. Note: This option only works with the Websockets transport and the Azure SignalR Service require the negotiate step.
Sets the access token provider for the HubConnection.
Sets the duration the HubConnection should wait for a Handshake Response from the server.
|withHeader(String name, String value)||
Sets a single header for the HubConnection to send.
Sets a collection of Headers for the HubConnection to send with every Http request.
Sets the transport type to indicate which transport to be used by the HubConnection.