IAsyncHttpWebRequest.AddHeaders Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Add HTTP headers.
public:
void AddHeaders(System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::String ^>> ^ headers);
public void AddHeaders (System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,string>> headers);
abstract member AddHeaders : seq<System.Collections.Generic.KeyValuePair<string, string>> -> unit
Public Sub AddHeaders (headers As IEnumerable(Of KeyValuePair(Of String, String)))
Parameters
- headers
- IEnumerable<KeyValuePair<String,String>>
Headers