System::Net::WebHeaderCollection::idx_set method
Contents
[
Hide
]WebHeaderCollection::idx_set(HttpRequestHeader, String) method
Sets the header value of the specified header.
void System::Net::WebHeaderCollection::idx_set(HttpRequestHeader header, String value)
Parameter | Type | Description |
---|---|---|
header | HttpRequestHeader | The header. |
value | String | The header value to set. |
See Also
- Enum HttpRequestHeader
- Class String
- Class WebHeaderCollection
- Namespace System::Net
- Library Aspose.PUB for C++
WebHeaderCollection::idx_set(HttpResponseHeader, String) method
Sets the header value using the specified response’s header.
void System::Net::WebHeaderCollection::idx_set(HttpResponseHeader header, String value)
Parameter | Type | Description |
---|---|---|
header | HttpResponseHeader | The header. |
value | String | The header value to set. |
See Also
- Enum HttpResponseHeader
- Class String
- Class WebHeaderCollection
- Namespace System::Net
- Library Aspose.PUB for C++
WebHeaderCollection::idx_set(String, String) method
Sets the header value using the specified header name.
void System::Net::WebHeaderCollection::idx_set(String name, String value)
Parameter | Type | Description |
---|---|---|
name | String | The header name. |
value | String | The header value to set. |
See Also
- Class String
- Class WebHeaderCollection
- Namespace System::Net
- Library Aspose.PUB for C++