C# Class NHttp.HttpUtil

Datei anzeigen Open project: brandonprry/Potato Class Usage Examples

Public Methods

Method Description
HtmlDecode ( string value ) : string
HtmlEncode ( string value ) : string
TrimAll ( string parts ) : void
UriDecode ( string value ) : string
UriDecode ( string value, Encoding encoding ) : string
UrlDecode ( string content ) : string>.Dictionary
UrlDecode ( string content, Encoding encoding ) : string>.Dictionary

Private Methods

Method Description
HexToInt ( char value ) : int
HttpUtil ( ) : System
IsHex ( char value ) : bool

Method Details

HtmlDecode() public static method

public static HtmlDecode ( string value ) : string
value string
return string

HtmlEncode() public static method

public static HtmlEncode ( string value ) : string
value string
return string

TrimAll() public static method

public static TrimAll ( string parts ) : void
parts string
return void

UriDecode() public static method

public static UriDecode ( string value ) : string
value string
return string

UriDecode() public static method

public static UriDecode ( string value, Encoding encoding ) : string
value string
encoding System.Text.Encoding
return string

UrlDecode() public static method

public static UrlDecode ( string content ) : string>.Dictionary
content string
return string>.Dictionary

UrlDecode() public static method

public static UrlDecode ( string content, Encoding encoding ) : string>.Dictionary
content string
encoding System.Text.Encoding
return string>.Dictionary