C# Class VkNet.Utils.WebCall

显示文件 Open project: vknet/vk Class Usage Examples

Private Properties

Property Type Description
GetResponse System.Net.HttpWebResponse
MakeRequest WebCallResult
MakeRequest WebCallResult
RedirectTo WebCallResult
WebCall System
WebCall System.Net

Public Methods

Method Description
Dispose ( ) : void
MakeCall ( string url, IWebProxy webProxy = null ) : WebCallResult

Выполнить запрос.

Post ( WebForm form, IWebProxy webProxy ) : WebCallResult

Post запрос из формы.

PostCall ( string url, string parameters, IWebProxy webProxy ) : WebCallResult

Выполнить POST запрос.

Private Methods

Method Description
GetResponse ( ) : HttpWebResponse

Получить запрос.

MakeRequest ( HttpResponseMessage response, Uri uri, IWebProxy webProxy ) : WebCallResult

Выполнить запрос.

MakeRequest ( IWebProxy webProxy = null ) : WebCallResult

Выполнить запрос.

RedirectTo ( string url, IWebProxy webProxy = null ) : WebCallResult

Пере адресация.

WebCall ( string url, Cookies cookies, IWebProxy webProxy = null, bool allowAutoRedirect = true ) : System

WebCall.

WebCall ( string url, Cookies cookies, IWebProxy webProxy = null ) : System.Net

WebCall.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

MakeCall() public static method

Выполнить запрос.
public static MakeCall ( string url, IWebProxy webProxy = null ) : WebCallResult
url string URL.
webProxy IWebProxy Данные прокси сервера.
return WebCallResult

Post() public static method

Post запрос из формы.
public static Post ( WebForm form, IWebProxy webProxy ) : WebCallResult
form WebForm Форма.
webProxy IWebProxy Хост.
return WebCallResult

PostCall() public static method

Выполнить POST запрос.
public static PostCall ( string url, string parameters, IWebProxy webProxy ) : WebCallResult
url string URL.
parameters string Параметры запроса.
webProxy IWebProxy Хост.
return WebCallResult