|
products_log 1.0.0
C++ client library for the Products REST API (usage statistics)
|
HTTP-запрос, описывающий обращение к Products API. More...
#include <products_log.h>
Public Attributes | |
| std::string | method |
| "GET" или "POST". | |
| std::string | url |
| Полный URL (путь уже URL-закодирован). | |
| std::string | body |
| Тело запроса (для POST). | |
| std::string | username |
| Basic-auth пользователь (пусто = без авторизации). | |
| std::string | password |
| Basic-auth пароль. | |
| int | timeout_seconds = 5 |
| Таймаут запроса в секундах. | |
HTTP-запрос, описывающий обращение к Products API.
Definition at line 20 of file products_log.h.
| std::string products_log::HttpRequest::body |
Тело запроса (для POST).
Definition at line 23 of file products_log.h.
Referenced by products_log::anonymous_namespace{products_log.cpp}::CurlTransportImpl().
| std::string products_log::HttpRequest::method |
"GET" или "POST".
Definition at line 21 of file products_log.h.
Referenced by products_log::anonymous_namespace{products_log.cpp}::CurlTransportImpl(), products_log::ProductsLog::FindProductId(), products_log::ProductsLog::RegisterProduct(), and products_log::ProductsLog::SendStat().
| std::string products_log::HttpRequest::password |
Basic-auth пароль.
Definition at line 25 of file products_log.h.
Referenced by products_log::anonymous_namespace{products_log.cpp}::CurlTransportImpl().
| int products_log::HttpRequest::timeout_seconds = 5 |
Таймаут запроса в секундах.
Definition at line 26 of file products_log.h.
Referenced by products_log::anonymous_namespace{products_log.cpp}::CurlTransportImpl().
| std::string products_log::HttpRequest::url |
Полный URL (путь уже URL-закодирован).
Definition at line 22 of file products_log.h.
Referenced by products_log::anonymous_namespace{products_log.cpp}::CurlTransportImpl().
| std::string products_log::HttpRequest::username |
Basic-auth пользователь (пусто = без авторизации).
Definition at line 24 of file products_log.h.
Referenced by products_log::anonymous_namespace{products_log.cpp}::CurlTransportImpl().