C# Class YandexAPI.Request

显示文件 Open project: kidinfo/YandexAPI Class Usage Examples

Public Methods

Method Description
GET ( string Url ) : Stream
GET ( string Url, WebProxy Proxy ) : Stream
GetResponseToString ( Stream RequestMetod ) : string
GetResponseToXDocument ( Stream RequestMetod ) : System.Xml.Linq.XDocument
POST ( string Url, string Command ) : Stream
POST ( string Url, string Command, WebProxy Proxy ) : Stream

Private Methods

Method Description
ResponseStreamGET ( string Url ) : Stream
ResponseStreamGET ( string Url, WebProxy Proxy ) : Stream
ResponseStreamPOST ( string Url, string Command ) : Stream
ResponseStreamPOST ( string Url, string Command, WebProxy Proxy ) : Stream

Method Details

GET() public method

public GET ( string Url ) : Stream
Url string
return Stream

GET() public method

public GET ( string Url, WebProxy Proxy ) : Stream
Url string
Proxy System.Net.WebProxy
return Stream

GetResponseToString() public method

public GetResponseToString ( Stream RequestMetod ) : string
RequestMetod Stream
return string

GetResponseToXDocument() public method

public GetResponseToXDocument ( Stream RequestMetod ) : System.Xml.Linq.XDocument
RequestMetod Stream
return System.Xml.Linq.XDocument

POST() public method

public POST ( string Url, string Command ) : Stream
Url string
Command string
return Stream

POST() public method

public POST ( string Url, string Command, WebProxy Proxy ) : Stream
Url string
Command string
Proxy System.Net.WebProxy
return Stream