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/HCTraceLevel.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 HCInitArgs;
14namespace xbox::httpclient { class Uri; }
15namespace xbox::httpclient { struct HeaderCompare; }
16namespace xbox::httpclient { struct PlatformComponents; }
17namespace xbox::httpclient { struct http_singleton; }
18// clang-format on
19
20namespace xbox::httpclient {
21// functions
22// NOLINTBEGIN
23MCNAPI void BasicAsciiLowercase(::http_string& s);
24
25MCNAPI uint64 GetThreadId();
26
27MCNAPI bool IsPathCharacter(char c);
28
29MCNAPI long PlatformInitialize(::xbox::httpclient::PlatformComponents& components, ::HCInitArgs* initArgs);
30
31MCNAPI bool StringToUint4(char const* begin, char const* end, uint64& v, int base);
32
33MCNAPI void TraceToDebugger(char const* areaName, ::HCTraceLevel traceLevel, char const* message);
34
35MCNAPI ::http_wstring flatten_http_headers(
36 ::std::map<
37 ::http_string,
38 ::http_string,
40 ::http_stl_allocator<::std::pair<::http_string const, ::http_string>>> const& headers
41);
42
43MCNAPI ::std::shared_ptr<::xbox::httpclient::http_singleton> get_http_singleton();
44
45MCNAPI ::xbox::httpclient::proxy_type
46get_ie_proxy_info(::xbox::httpclient::proxy_protocol protocol, ::xbox::httpclient::Uri& proxyUri);
47
48MCNAPI void trim_whitespace(::http_wstring& str);
49// NOLINTEND
50
51} // namespace xbox::httpclient
Definition http_stl_allocator.h:6
Definition Uri.h:10
Definition HCInitArgs.h:5
Definition HeaderCompare.h:10
Definition PlatformComponents.h:7