C# Class CSharpUtils.Http.HttpHeaderList

Show file Open project: soywiz/csharputils Class Usage Examples

Protected Properties

Property Type Description
Headers List>.Dictionary

Public Methods

Method Description
Append ( String Name, String Value ) : HttpHeaderList
Get ( String Name ) : CSharpUtils.Http.HttpHeader[]
GetOne ( String Name ) : HttpHeader
HttpHeaderList ( ) : System
HttpHeaderList ( String String ) : System
Parse ( String Lines ) : HttpHeaderList
Remove ( String Name ) : HttpHeaderList
Set ( String Name, String Value, bool Overwrite = true ) : HttpHeaderList
SetCookie ( String Name, String Value ) : HttpHeaderList
TryGetOne ( String Name, HttpHeader &HttpHeader ) : bool
WriteTo ( TextWriter Output ) : HttpHeaderList

Protected Methods

Method Description
_Set ( String _Name, String _Value, bool Append = false, bool Overwrite = true ) : HttpHeaderList

Method Details

Append() public method

public Append ( String Name, String Value ) : HttpHeaderList
Name String
Value String
return HttpHeaderList

Get() public method

public Get ( String Name ) : CSharpUtils.Http.HttpHeader[]
Name String
return CSharpUtils.Http.HttpHeader[]

GetOne() public method

public GetOne ( String Name ) : HttpHeader
Name String
return HttpHeader

HttpHeaderList() public method

public HttpHeaderList ( ) : System
return System

HttpHeaderList() public method

public HttpHeaderList ( String String ) : System
String String
return System

Parse() public method

public Parse ( String Lines ) : HttpHeaderList
Lines String
return HttpHeaderList

Remove() public method

public Remove ( String Name ) : HttpHeaderList
Name String
return HttpHeaderList

Set() public method

public Set ( String Name, String Value, bool Overwrite = true ) : HttpHeaderList
Name String
Value String
Overwrite bool
return HttpHeaderList

SetCookie() public method

public SetCookie ( String Name, String Value ) : HttpHeaderList
Name String
Value String
return HttpHeaderList

TryGetOne() public method

public TryGetOne ( String Name, HttpHeader &HttpHeader ) : bool
Name String
HttpHeader HttpHeader
return bool

WriteTo() public method

public WriteTo ( TextWriter Output ) : HttpHeaderList
Output TextWriter
return HttpHeaderList

_Set() protected method

protected _Set ( String _Name, String _Value, bool Append = false, bool Overwrite = true ) : HttpHeaderList
_Name String
_Value String
Append bool
Overwrite bool
return HttpHeaderList

Property Details

Headers protected property

protected Dictionary> Headers
return List>.Dictionary