C# Класс Stumps.HttpHeaders

A custom dictionary that contains the headers in the context of an HTTP request or HTTP response.
Наследование: IHttpHeaders
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Clear ( ) : void

Clears all existing headers from the instance.

CopyTo ( IHttpHeaders httpHeaders ) : void

Copies the elements of the T:Stumps.IHttpHeaders collection to another T:Stumps.IHttpHeaders.

HttpHeaders ( ) : System

Initializes a new instance of the T:Stumps.HttpHeaders class.

Remove ( string headerName ) : bool

Removes the header with the specified name.

this ( string headerName ) : string

Gets or sets the System.String value for the specified header name.

Описание методов

Clear() публичный Метод

Clears all existing headers from the instance.
public Clear ( ) : void
Результат void

CopyTo() публичный Метод

Copies the elements of the T:Stumps.IHttpHeaders collection to another T:Stumps.IHttpHeaders.
is null.
public CopyTo ( IHttpHeaders httpHeaders ) : void
httpHeaders IHttpHeaders The target .
Результат void

HttpHeaders() публичный Метод

Initializes a new instance of the T:Stumps.HttpHeaders class.
public HttpHeaders ( ) : System
Результат System

Remove() публичный Метод

Removes the header with the specified name.
public Remove ( string headerName ) : bool
headerName string The name of the header to remove.
Результат bool

this() публичный Метод

Gets or sets the System.String value for the specified header name.
public this ( string headerName ) : string
headerName string The name of the header.
Результат string