Skip to content

AddDefaultHeader

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

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

Parameters

string name
    The name of the header.

string value
    The value of the header.

Returns

The current RestClient instance.

See Also