From b22c20c4db8c35eaee99075d055f74697c5805b8 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Sun, 15 Jan 2017 02:33:59 +0300 Subject: Docs --- docs/d8/ded/class_tg_bot_1_1_http_req_arg.html | 276 +++++++++++++++++++++++++ docs/d8/ded/class_tg_bot_1_1_http_req_arg.js | 9 + 2 files changed, 285 insertions(+) create mode 100644 docs/d8/ded/class_tg_bot_1_1_http_req_arg.html create mode 100644 docs/d8/ded/class_tg_bot_1_1_http_req_arg.js (limited to 'docs/d8/ded') diff --git a/docs/d8/ded/class_tg_bot_1_1_http_req_arg.html b/docs/d8/ded/class_tg_bot_1_1_http_req_arg.html new file mode 100644 index 0000000..ad7dbd0 --- /dev/null +++ b/docs/d8/ded/class_tg_bot_1_1_http_req_arg.html @@ -0,0 +1,276 @@ + + + + + + + +tgbot-cpp: TgBot::HttpReqArg Class Reference + + + + + + + + + + + + + + +
+
+ + + + + + +
+
tgbot-cpp +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
TgBot::HttpReqArg Class Reference
+
+
+ +

#include <HttpReqArg.h>

+ + + + + +

+Public Member Functions

template<typename T >
 HttpReqArg (const std::string &name, const T &value, bool isFile=false, const std::string &mimeType="text/plain", const std::string &fileName="")
 
+ + + + + + + + + + + +

+Public Attributes

std::string name
 
std::string value
 
bool isFile = false
 
std::string mimeType = "text/plain"
 
std::string fileName
 
+

Detailed Description

+

This class represents argument in POST http requests.

+ +

Definition at line 38 of file HttpReqArg.h.

+

Constructor & Destructor Documentation

+ +

◆ HttpReqArg()

+ +
+
+
+template<typename T >
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
TgBot::HttpReqArg::HttpReqArg (const std::string & name,
const T & value,
bool isFile = false,
const std::string & mimeType = "text/plain",
const std::string & fileName = "" 
)
+
+inline
+
+ +

Definition at line 42 of file HttpReqArg.h.

+ +
+
+

Member Data Documentation

+ +

◆ fileName

+ +
+
+ + + + +
std::string TgBot::HttpReqArg::fileName
+
+

Should be set if an argument value hold some file contents

+ +

Definition at line 70 of file HttpReqArg.h.

+ +
+
+ +

◆ isFile

+ +
+
+ + + + +
bool TgBot::HttpReqArg::isFile = false
+
+

Should be true if an argument value hold some file contents

+ +

Definition at line 60 of file HttpReqArg.h.

+ +
+
+ +

◆ mimeType

+ +
+
+ + + + +
std::string TgBot::HttpReqArg::mimeType = "text/plain"
+
+

Mime type of an argument value. This field makes sense only if isFile is true.

+ +

Definition at line 65 of file HttpReqArg.h.

+ +
+
+ +

◆ name

+ +
+
+ + + + +
std::string TgBot::HttpReqArg::name
+
+

Name of an argument.

+ +

Definition at line 50 of file HttpReqArg.h.

+ +
+
+ +

◆ value

+ +
+
+ + + + +
std::string TgBot::HttpReqArg::value
+
+

Value of an argument.

+ +

Definition at line 55 of file HttpReqArg.h.

+ +
+
+
The documentation for this class was generated from the following file: +
+
+ + + + diff --git a/docs/d8/ded/class_tg_bot_1_1_http_req_arg.js b/docs/d8/ded/class_tg_bot_1_1_http_req_arg.js new file mode 100644 index 0000000..adfbd65 --- /dev/null +++ b/docs/d8/ded/class_tg_bot_1_1_http_req_arg.js @@ -0,0 +1,9 @@ +var class_tg_bot_1_1_http_req_arg = +[ + [ "HttpReqArg", "d8/ded/class_tg_bot_1_1_http_req_arg.html#aaff7072fe781f191ddca430088447d19", null ], + [ "fileName", "d8/ded/class_tg_bot_1_1_http_req_arg.html#af75b0592fd96d9dcc31f7f5dc95425dc", null ], + [ "isFile", "d8/ded/class_tg_bot_1_1_http_req_arg.html#a9e372ea4360d239037cfeb673d31d9f3", null ], + [ "mimeType", "d8/ded/class_tg_bot_1_1_http_req_arg.html#a74387e5b5fe9713a805b33e693930bd5", null ], + [ "name", "d8/ded/class_tg_bot_1_1_http_req_arg.html#a9772f0982d33fdebe587106d0b4f921d", null ], + [ "value", "d8/ded/class_tg_bot_1_1_http_req_arg.html#ae854084229a093b6819953d0055844eb", null ] +]; \ No newline at end of file -- cgit v1.2.3