Sisk

Interface

IHttpEngineHeaderList

Namespace
Sisk.Core.Http.Engine
Assembly
Sisk.Core.dll

Represents a collection of HTTP headers.

C#
public interface IHttpEngineHeaderList

Properties #

NameDescription
CountGets the number of headers in the collection.
DefinedHeaderNamesGets an array of strings representing the names of all defined headers in the collection.

Methods #

NameDescription
AppendHeader(string, string)Appends a header with the specified name and value to the collection. If a header with the same name already exists, the new value is added as an additional value for that header.
Clear()Removes all headers from the collection.
Contains(string)Determines whether the collection contains a header with the specified name.
GetHeader(string)Gets all values associated with the header with the specified name.
SetHeader(string, string)Sets a header with the specified name and value in the collection. If a header with the same name already exists, its existing values are replaced with the new value.

Type to search the documentation and the API reference.