HttpService Constructor

Chat2Desk

Chat2Desk

HttpService Constructor

Initializes a new instance of the [HttpService] class.

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

Syntax


public HttpService(
	string token,
	IWebProxy webProxy
)
Public Sub New ( _
	token As String, _
	webProxy As IWebProxy _
)
public:
HttpService(
	String^ token, 
	IWebProxy^ webProxy
)

Parameters

token
Type: String
The token.
webProxy
Type: IWebProxy
The web proxy.

Exceptions


ExceptionCondition
[System.ArgumentException]token can`t be empty