C# Class Gallatin.Core.Web.HttpHeaders

Inheritance: IHttpHeaders
Mostrar archivo Open project: williamoneill/Gallatin Class Usage Examples

Public Methods

Method Description
AsEnumerable ( ) : string>>.IEnumerable
HttpHeaders ( string>.List headers ) : System
Remove ( string key ) : void
RemoveKeyValue ( string key, string value ) : void
RenameKey ( string oldKeyName, string newKeyName ) : void
UpsertKeyValue ( string key, string value ) : void
this ( string key ) : string

Private Methods

Method Description
TryFindByKey ( string key, string>.KeyValuePair &header ) : bool

Method Details

AsEnumerable() public method

public AsEnumerable ( ) : string>>.IEnumerable
return string>>.IEnumerable

HttpHeaders() public method

public HttpHeaders ( string>.List headers ) : System
headers string>.List
return System

Remove() public method

public Remove ( string key ) : void
key string
return void

RemoveKeyValue() public method

public RemoveKeyValue ( string key, string value ) : void
key string
value string
return void

RenameKey() public method

public RenameKey ( string oldKeyName, string newKeyName ) : void
oldKeyName string
newKeyName string
return void

UpsertKeyValue() public method

public UpsertKeyValue ( string key, string value ) : void
key string
value string
return void

this() public method

public this ( string key ) : string
key string
return string