WebHeaderCollection..::..Remove Method (HttpResponseHeader)
Removes the specified response header from the collection.
Namespace:
WebSocketSharp.NetAssembly: C-DEngine (in C-DEngine.dll)
Syntax
public void Remove( HttpResponseHeader header )
Public Sub Remove ( _ header As HttpResponseHeader _ )
public: void Remove( HttpResponseHeader^ header )
Parameters
- header
- Type: WebSocketSharp.Net..::..HttpResponseHeader
One of the HttpResponseHeader enum values, represents the response header to remove.
Exceptions
Exception | Condition |
---|---|
ArgumentException | header is a restricted header. |
InvalidOperationException | The current WebHeaderCollection instance doesn't allow the response header. |