set_Host()

HttpRequestHeaders::set_Host(String) method

Sets a value of the ‘Host’ header.

void System::Net::Http::Headers::HttpRequestHeaders::set_Host(String value)

Arguments

ParameterTypeDescription
valueStringThe value that must be set.

See Also