C# 클래스 Stumps.HttpHeaders

A custom dictionary that contains the headers in the context of an HTTP request or HTTP response.
상속: IHttpHeaders
파일 보기 프로젝트 열기: Cayan-LLC/stumps 1 사용 예제들

공개 메소드들

메소드 설명
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