HttpHubConnectionBuilder.withHeader(String name, String value) Method

Definition

Sets a single header for the HubConnection to send.

public HttpHubConnectionBuilder withHeader(String name, String value)

Parameters

name
java.lang.String

The name of the header to set.

value
java.lang.String

The value of the header to be set.

Returns

This instance of the HttpHubConnectionBuilder.

Applies to