From f13b7029e9af43282ebe6c2e9bb4dd749c8e450a Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Mon, 23 Jul 2018 02:09:18 +0300 Subject: Move docs to gh-pages branch --- docs/class_tg_bot_1_1_http_client.html | 209 --------------------------------- 1 file changed, 209 deletions(-) delete mode 100644 docs/class_tg_bot_1_1_http_client.html (limited to 'docs/class_tg_bot_1_1_http_client.html') diff --git a/docs/class_tg_bot_1_1_http_client.html b/docs/class_tg_bot_1_1_http_client.html deleted file mode 100644 index 9012991..0000000 --- a/docs/class_tg_bot_1_1_http_client.html +++ /dev/null @@ -1,209 +0,0 @@ - - - - - - -tgbot-cpp: TgBot::HttpClient Class Reference - - - - - - - - - - - - - - - -
-
- - - - - - -
-
tgbot-cpp -
-
-
- - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
TgBot::HttpClient Class Reference
-
-
- -

This class makes http requests. - More...

- -

#include <HttpClient.h>

- - - - - -

-Public Member Functions

std::string makeRequest (const Url &url, const std::vector< HttpReqArg > &args)
 Sends a request to the url. More...
 
- - - - -

-Static Public Member Functions

static HttpClientgetInstance ()
 Returns instance which lives during all application lifetime. More...
 
-

Detailed Description

-

This class makes http requests.

- -

Definition at line 41 of file HttpClient.h.

-

Member Function Documentation

- -
-
- - - - - -
- - - - - - - -
static HttpClient& TgBot::HttpClient::getInstance ()
-
-static
-
- -

Returns instance which lives during all application lifetime.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
std::string TgBot::HttpClient::makeRequest (const Urlurl,
const std::vector< HttpReqArg > & args 
)
-
- -

Sends a request to the url.

-

If there's no args specified, a GET request will be sent, otherwise a POST request will be sent. If at least 1 arg is marked as file, the content type of a request will be multipart/form-data, otherwise it will be application/x-www-form-urlencoded.

- -
-
-
The documentation for this class was generated from the following file: -
-
- - - - -- cgit v1.2.3