## WebHeaderCollection::Remove(HttpRequestHeader) method


Removes the specified request's header.

```cpp
void System::Net::WebHeaderCollection::Remove(HttpRequestHeader header)
```


| Parameter | Type | Description |
| --- | --- | --- |
| header | HttpRequestHeader | The header to remove. |

## See Also

* Enum [HttpRequestHeader](../../httprequestheader/)
* Class [WebHeaderCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## WebHeaderCollection::Remove(HttpResponseHeader) method


Removes the specified response's header.

```cpp
void System::Net::WebHeaderCollection::Remove(HttpResponseHeader header)
```


| Parameter | Type | Description |
| --- | --- | --- |
| header | HttpResponseHeader | The header to remove. |

## See Also

* Enum [HttpResponseHeader](../../httpresponseheader/)
* Class [WebHeaderCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
## WebHeaderCollection::Remove(String) method


Removes the header by the specified header name.

```cpp
void System::Net::WebHeaderCollection::Remove(String name)
```


| Parameter | Type | Description |
| --- | --- | --- |
| name | String | The header name. |

## See Also

* Class [String](../../../system/string/)
* Class [WebHeaderCollection](../)
* Namespace [System::Net](../../)
* Library [Aspose.Page for C++](../../../)
