C-DEngine 5.105

WebHeaderCollection..::..Remove Method (HttpResponseHeader)

Removes the specified response header from the collection.

Namespace:  WebSocketSharp.Net
Assembly:  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


ExceptionCondition
ArgumentExceptionheader is a restricted header.
InvalidOperationException The current WebHeaderCollection instance doesn't allow the response header.