LeviLamina
Loading...
Searching...
No Matches
httpclient.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/lib_http_client/HCWebSocketCloseStatus.h"
7#include "mc/external/lib_http_client/http_stl_allocator.h"
8#include "mc/external/lib_http_client/proxy_protocol.h"
9#include "mc/external/lib_http_client/proxy_type.h"
10
11// auto generated forward declare list
12// clang-format off
13struct HC_PERFORM_ENV;
15struct XAsyncBlock;
16struct XTaskQueueObject;
17namespace xbox::httpclient { class Uri; }
18namespace xbox::httpclient { struct HeaderCompare; }
19namespace xbox::httpclient { struct http_singleton; }
20// clang-format on
21
22namespace xbox::httpclient {
23// functions
24// NOLINTBEGIN
25MCAPI void BasicAsciiLowercase(::http_string&);
26
27MCAPI bool IsPathCharacter(char);
28
29MCAPI long RunAsync(::std::function<void()>&&, ::XTaskQueueObject*, uint64);
30
31MCAPI bool StringToUint4(char const*, char const*, uint64&, int);
32
33MCAPI long
34WebSocketppConnectAsync(char const*, char const*, ::HC_WEBSOCKET_OBSERVER*, ::XAsyncBlock*, void*, ::HC_PERFORM_ENV*);
35
36MCAPI long WebSocketppDisconnect(::HC_WEBSOCKET_OBSERVER*, ::HCWebSocketCloseStatus, void*);
37
38MCAPI long WebSocketppSendBinaryMessageAsync(::HC_WEBSOCKET_OBSERVER*, uchar const*, uint, ::XAsyncBlock*, void*);
39
40MCAPI long WebSocketppSendMessageAsync(::HC_WEBSOCKET_OBSERVER*, char const*, ::XAsyncBlock*, void*);
41
42MCAPI ::http_wstring
43flatten_http_headers(::std::map<
44 ::http_string,
45 ::http_string,
47 ::http_stl_allocator<::std::pair<::http_string const, ::http_string>>> const&);
48
49MCAPI ::std::shared_ptr<::xbox::httpclient::http_singleton> get_http_singleton();
50
51MCAPI ::xbox::httpclient::proxy_type get_ie_proxy_info(::xbox::httpclient::proxy_protocol, ::xbox::httpclient::Uri&);
52
53MCAPI void trim_whitespace(::http_wstring&);
54
55MCAPI bool verify_cert_chain_platform_specific(::asio::ssl::verify_context&, ::http_string const&);
56// NOLINTEND
57
58} // namespace xbox::httpclient
Definition http_stl_allocator.h:6
Definition Uri.h:10
Definition HC_PERFORM_ENV.h:23
Definition HC_WEBSOCKET_OBSERVER.h:14
Definition XAsyncBlock.h:10
Definition XTaskQueueObject.h:5
Definition HeaderCompare.h:10