HttpSettingsExtensions.

AppendHeader(HttpSettings, string, string) Method

Summary

Appends the header to the settings header collection
Assembly
Cake.Http.dll
Namespace
Cake.Http
Containing Type
HttpSettingsExtensions

Syntax

public static HttpSettings AppendHeader(this HttpSettings settings, string name, string value)

Parameters

Name Type Description
settings HttpSettings The settings.
name string name of the header
value string value to apply to the header

Return Value

Type Description
HttpSettings The same HttpSettings instance so that multiple calls can be chained.