Request Method

Chat2Desk

Chat2Desk

HttpService..::..Request Method

Requests the specified URL.

Namespace:  Chat2Desk.Services
Assembly:  Chat2Desk (in Chat2Desk.dll)

Syntax


public string Request(
	string url,
	Method method,
	Object param
)
Public Function Request ( _
	url As String, _
	method As Method, _
	param As Object _
) As String
public:
String^ Request(
	String^ url, 
	Method^ method, 
	Object^ param
)

Parameters

url
Type: String
The URL.
method
Type: Chat2Desk.Types.Enums..::..Method
The method.
param
Type: Object
The parameter.

Return Value

Exceptions


ExceptionCondition
[System.ArgumentException]url can`t be empty
[System.Exception]Unsoporte HTTP Method
[HttpException]Ошибка отправки запроса в HttpService