From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- docs/d5/d82/class_tg_bot_1_1_http_client.html | 178 ++++++++++++++++++++++++++ docs/d5/d82/class_tg_bot_1_1_http_client.js | 4 + 2 files changed, 182 insertions(+) create mode 100644 docs/d5/d82/class_tg_bot_1_1_http_client.html create mode 100644 docs/d5/d82/class_tg_bot_1_1_http_client.js (limited to 'docs/d5/d82') diff --git a/docs/d5/d82/class_tg_bot_1_1_http_client.html b/docs/d5/d82/class_tg_bot_1_1_http_client.html new file mode 100644 index 0000000..d51d9b9 --- /dev/null +++ b/docs/d5/d82/class_tg_bot_1_1_http_client.html @@ -0,0 +1,178 @@ + + + + + + + +tgbot-cpp: TgBot::HttpClient Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::HttpClient Class Reference
+
+
+ +

#include <HttpClient.h>

+ + + + +

+Public Member Functions

std::string makeRequest (const Url &url, const std::vector< HttpReqArg > &args)
 
+ + + +

+Static Public Member Functions

static HttpClientgetInstance ()
 
+

Detailed Description

+

This class makes http requests.

+ +

Definition at line 40 of file HttpClient.h.

+

Member Function Documentation

+ +

◆ getInstance()

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

Returns instance which lives during all application lifetime.

+ +
+
+ +

◆ makeRequest()

+ +
+
+ + + + + + + + + + + + + + + + + + +
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: +
+
+ + + + diff --git a/docs/d5/d82/class_tg_bot_1_1_http_client.js b/docs/d5/d82/class_tg_bot_1_1_http_client.js new file mode 100644 index 0000000..e209cff --- /dev/null +++ b/docs/d5/d82/class_tg_bot_1_1_http_client.js @@ -0,0 +1,4 @@ +var class_tg_bot_1_1_http_client = +[ + [ "makeRequest", "d5/d82/class_tg_bot_1_1_http_client.html#a1de1ba0e962c7446e9820337bbf6d3e5", null ] +]; \ No newline at end of file -- cgit v1.2.3