Sisk

Method

HttpHeaderList.Remove

Namespace
Sisk.Cadente
Assembly
Sisk.Cadente.dll

Remove(HttpHeader) #

Removes all HttpHeader instances that match the specified header.

C#
public bool Remove(HttpHeader item)

Parameters #

item HttpHeader

The header to remove.

Returns #

bool

true if one or more headers were removed; otherwise, false.

Remove(string) #

Removes all HttpHeader instances that match the specified header name.

C#
public bool Remove(string name)

Parameters #

name string

The name of the header to remove.

Returns #

bool

true if one or more headers were removed; otherwise, false.

Type to search the documentation and the API reference.