5 #include "imports/windows/Windows.h" 6 #include "imports/windows/winhttp.h" 9 #include "basic_Error.hpp" 10 #include "RequestHandler_v20190401_to_v20180502.hpp" 20 int constexpr WINHTTP_OPEN_FAILED = 1;
21 int constexpr WINHTTP_CONNECT_FAILED = 2;
22 int constexpr WINHTTP_OPEN_REQUEST_FAILED = 3;
23 int constexpr WINHTTP_SEND_REQUEST_FAILED = 4;
24 int constexpr WINHTTP_RECIEVE_RESPONSE_FAILED = 5;
25 int constexpr WINHTTP_QUERY_DATA_AVAILABLE_FAILED = 6;
26 int constexpr WINHTTP_READ_DATA_FAILED = 7;
27 int constexpr WINHTTP_POSTFIELDS_TOO_LARGE = 8;
28 int constexpr MULTIBYTETOWIDE_ENDPOINT = 9;
29 int constexpr MULTIBYTETOWIDE_HOST = 10;
40 add_argument(
basic_Error & e,
char const* key,
char const* value);
47 std::string postfields_;
49 char const* endpoint_;
64 #ifndef CRYPTOLENS_20190701_ALLOW_IMPLICIT_CONSTRUCTORS 68 #ifndef CRYPTOLENS_ENABLE_DANGEROUS_COPY_MOVE_CONSTRUCTOR 79 post_request(
basic_Error& e,
char const* host,
char const* endpoint);
Definition: RequestHandler_WinHTTP.hpp:61
Definition: RequestHandler_WinHTTP.hpp:18
Definition: ActivateError.hpp:5
Definition: basic_Error.hpp:90
Definition: RequestHandler_v20190401_to_v20180502.hpp:12
Definition: RequestHandler_WinHTTP.hpp:35