C# Класс RenRen.Plurk.HttpUtility

Contains helper HTTP methods not available in System.Net namespace.
Показать файл Открыть проект

Открытые методы

Метод Описание
ParseQueryString ( String s ) : NameValueCollection

Parse an encoded query string using UTF8 encoding.

ParseQueryString ( String s, bool urlencoded, Encoding encoding ) : NameValueCollection

Parse a query string into a NameValueCollection using specified encoding settings.

UrlDecode ( string s ) : string

Decode an URL transmission-encoded string into its original representation using UTF8 encoding.

UrlDecode ( string s, Encoding encoding ) : string

Decode an URL transmission-encoded string into its original representation using specified encoding.

Приватные методы

Метод Описание
HexToInt ( char h ) : int

Convert a hex character to its integer representation,

Описание методов

ParseQueryString() публичный статический Метод

Parse an encoded query string using UTF8 encoding.
public static ParseQueryString ( String s ) : NameValueCollection
s String The query string to parse.
Результат System.Collections.Specialized.NameValueCollection

ParseQueryString() публичный статический Метод

Parse a query string into a NameValueCollection using specified encoding settings.
public static ParseQueryString ( String s, bool urlencoded, Encoding encoding ) : NameValueCollection
s String The query string to parse.
urlencoded bool Whether query string keys and values are URL encoded.
encoding System.Text.Encoding The encoding to use.
Результат System.Collections.Specialized.NameValueCollection

UrlDecode() публичный статический Метод

Decode an URL transmission-encoded string into its original representation using UTF8 encoding.
public static UrlDecode ( string s ) : string
s string The string to decode.
Результат string

UrlDecode() публичный статический Метод

Decode an URL transmission-encoded string into its original representation using specified encoding.
public static UrlDecode ( string s, Encoding encoding ) : string
s string The string to decode.
encoding System.Text.Encoding The encoding to use.
Результат string