HttpSettingsExtensions.

SetReferer(HttpSettings, string) Method

Summary

Sets the "Referer" header of the address of the previous web page from which a link to the currently requested page was followed.
Assembly
Cake.Http.dll
Namespace
Cake.Http
Containing Type
HttpSettingsExtensions

Syntax

public static HttpSettings SetReferer(this HttpSettings settings, string url)

Parameters

Name Type Description
settings HttpSettings The settings.
url string the url to apply to the "refer" header

Return Value

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