|
VoltMod
C++23 framework for CS2 server plugins
|
#include <HttpResult.hpp>
Public Member Functions | |
| bool | IsSuccess () const |
Public Attributes | |
| bool | Ok = false |
| the server answered, with any status; when false, Error says why | |
| long | StatusCode = 0 |
| std::string | Body |
| std::string | Error |
How an HTTP request ended.
Definition at line 10 of file HttpResult.hpp.
|
inline |
The server answered with a 2xx status.
Definition at line 18 of file HttpResult.hpp.
References Ok, and StatusCode.
| std::string VoltMod::HttpResult::Body |
Definition at line 14 of file HttpResult.hpp.
| std::string VoltMod::HttpResult::Error |
Definition at line 15 of file HttpResult.hpp.
Referenced by VoltMod::ToResult().
the server answered, with any status; when false, Error says why
Definition at line 12 of file HttpResult.hpp.
Referenced by IsSuccess().
| long VoltMod::HttpResult::StatusCode = 0 |
Definition at line 13 of file HttpResult.hpp.
Referenced by IsSuccess().