C# 클래스 Stumps.ReadOnlyHttpHeaders

A read-only implementation of T:Stumps.IHttpHeaders that can be used to protect HTTP requests from being altered.
상속: HttpHeaders
파일 보기 프로젝트 열기: Cayan-LLC/stumps 1 사용 예제들

공개 메소드들

메소드 설명
Clear ( ) : void

Clears all existing headers from the instance.

Remove ( string name ) : bool

Removes the header with the specified name.

this ( string headerName ) : string

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

비공개 메소드들

메소드 설명
AddOrUpdateInternal ( string name, string value ) : void

Adds or updates an existing header.

ClearInternal ( ) : void

Clears all existing headers from the instance.

RemoveInternal ( string name ) : bool

Removes the header with the specified name.

메소드 상세

Clear() 공개 메소드

Clears all existing headers from the instance.
Always thrown.
public Clear ( ) : void
리턴 void

Remove() 공개 메소드

Removes the header with the specified name.
Always thrown.
public Remove ( string name ) : bool
name string The name of the header to remove.
리턴 bool

this() 공개 메소드

Gets or sets the System.String value for the specified header name.
Thrown when altering the value of a header.
public this ( string headerName ) : string
headerName string The name of the header.
리턴 string