System::Net::HttpWebRequest::set_Headers method

HttpWebRequest::set_Headers method

Sets the collection of the HTTP headers.

void System::Net::HttpWebRequest::set_Headers(System::SharedPtr<WebHeaderCollection> value) override
ParameterTypeDescription
valueSystem::SharedPtr<WebHeaderCollection>The collection of the HTTP headers to set.

See Also