Skip to content

AddDefaultHeader

Adds a default header to all requests made by this client.

myRestClient.AddDefaultHeader(name: string, value: string):RestClient (RestClient)

Parameters

string name
    The name of the header.

string value
    The value of the header.

Returns

The current RestClient instance.

See Also