Add Method (String)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Inserts the specified header into the collection.
Assembly: System.Http (in System.Http.dll)
The header parameter must be specified in the format "name:value". If the specified header does not exist in the collection, a new header is added to the collection.
If the header specified in header is already present in the collection, the value part of the header is concatenated with the existing value.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.