LeviLamina
Loading...
Searching...
No Matches
xbox::httpclient::WinHttpConnection Class Reference
+ Inheritance diagram for xbox::httpclient::WinHttpConnection:

Classes

struct  WebSocketSendContext
 

Public Member Functions

WinHttpConnectionoperator= (WinHttpConnection const &)
 
 WinHttpConnection (WinHttpConnection const &)
 
MCAPI long Close (::std::function< void()> callback)
 
MCAPI long HttpCallPerformAsync (::XAsyncBlock *async)
 
MCAPI long Initialize ()
 
MCAPI void SendRequest ()
 
MCAPI void StartWinHttpClose ()
 
MCAPI long WebSocketConnectAsync (::XAsyncBlock *async)
 
MCAPI long WebSocketDisconnect (::HCWebSocketCloseStatus closeStatus)
 
MCAPI long WebSocketReadAsync ()
 
MCAPI long WebSocketReadComplete (bool binaryMessage, bool endOfMessage)
 
MCAPI void WebSocketSendMessage (::xbox::httpclient::WinHttpConnection::WebSocketSendContext const &sendContext)
 
MCAPI long WebSocketSendMessageAsync (::XAsyncBlock *async, char const *message)
 
MCAPI long WebSocketSendMessageAsync (::XAsyncBlock *async, uchar const *payloadBytes, uint64 payloadSize, ::_WINHTTP_WEB_SOCKET_BUFFER_TYPE payloadType)
 
MCAPI WinHttpConnection (void *hSession, ::HC_CALL *call, ::xbox::httpclient::proxy_type proxyType, ::xbox::httpclient::XPlatSecurityInformation &&securityInformation)
 
MCAPI void complete_task (long translatedHR, uint platformSpecificError)
 
MCAPI void on_websocket_disconnected (ushort closeReason)
 
MCAPI void * $ctor (void *hSession, ::HC_CALL *call, ::xbox::httpclient::proxy_type proxyType, ::xbox::httpclient::XPlatSecurityInformation &&securityInformation)
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI ::xbox::httpclient::Result<::std::shared_ptr<::xbox::httpclient::WinHttpConnection > > Initialize (void *hSession, ::HC_CALL *call, ::xbox::httpclient::proxy_type proxyType, ::xbox::httpclient::XPlatSecurityInformation &&securityInformation)
 
static MCAPI ::xbox::httpclient::Result<::std::shared_ptr<::xbox::httpclient::WinHttpConnection > > Initialize (void *hSession, ::HC_WEBSOCKET_OBSERVER *webSocket, char const *uri, char const *subprotocol, ::xbox::httpclient::proxy_type proxyType, ::xbox::httpclient::XPlatSecurityInformation &&securityInformation)
 
static MCAPI long WebSocketConnectProvider (::XAsyncOp op, ::XAsyncProviderData const *data)
 
static MCAPI long WebSocketSendProvider (::XAsyncOp op, ::XAsyncProviderData const *data)
 
static MCAPI void _multiple_segment_write_data (::xbox::httpclient::WinHttpConnection *pRequestContext)
 
static MCAPI void callback_status_data_available (void *hRequestHandle, ::xbox::httpclient::WinHttpConnection *pRequestContext, void *statusInfo)
 
static MCAPI void callback_status_headers_available (void *hRequestHandle, ::xbox::httpclient::WinHttpConnection *pRequestContext, void *)
 
static MCAPI void callback_status_request_error (void *hRequestHandle, ::xbox::httpclient::WinHttpConnection *pRequestContext, void *statusInfo)
 
static MCAPI void callback_websocket_status_headers_available (void *hRequestHandle, ::xbox::httpclient::WinHttpCallbackContext *winHttpContext)
 
static MCAPI void completion_callback (void *hRequestHandle, uint64 context, ulong statusCode, void *statusInfo, ulong statusInfoLength)
 
static MCAPI long flush_response_buffer (::xbox::httpclient::WinHttpConnection *pRequestContext)
 
static MCAPI void parse_headers_string (::HC_CALL *call, wchar_t *headersStr)
 
static MCAPI uint parse_status_code (::HC_CALL *call, void *hRequestHandle, ::xbox::httpclient::WinHttpConnection *pRequestContext)
 
static MCAPI void read_next_response_chunk (::xbox::httpclient::WinHttpConnection *pRequestContext, ulong)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 4, 4 > mUnkabf1e8
 
::ll::UntypedStorage< 8, 8 > mUnke8fc8a
 
::ll::UntypedStorage< 8, 8 > mUnkadf35b
 
::ll::UntypedStorage< 8, 8 > mUnk4c5589
 
::ll::UntypedStorage< 8, 8 > mUnkdaac13
 
::ll::UntypedStorage< 8, 232 > mUnk4c2598
 
::ll::UntypedStorage< 8, 8 > mUnke323b9
 
::ll::UntypedStorage< 4, 4 > mUnk814a66
 
::ll::UntypedStorage< 8, 64 > mUnkdd2941
 
::ll::UntypedStorage< 4, 4 > mUnkb429e1
 
::ll::UntypedStorage< 8, 8 > mUnkdc6f9a
 
::ll::UntypedStorage< 8, 8 > mUnk88bcfc
 
::ll::UntypedStorage< 8, 8 > mUnk69a515
 
::ll::UntypedStorage< 8, 24 > mUnk2f1eba
 
::ll::UntypedStorage< 8, 24 > mUnkc2ef7f
 
::ll::UntypedStorage< 4, 4 > mUnk98c493
 
::ll::UntypedStorage< 8, 40 > mUnk4ef05d
 
::ll::UntypedStorage< 8, 56 > mUnk29c141
 
::ll::UntypedStorage< 8, 8 > mUnkc2b232
 
::ll::UntypedStorage< 8, 32 > mUnka5143b
 
::ll::UntypedStorage< 8, 8 > mUnk9fcdb0
 
::ll::UntypedStorage< 1, 1 > mUnka91dd5
 
::ll::UntypedStorage< 8, 80 > mUnk61f178
 
::ll::UntypedStorage< 8, 40 > mUnkace10b
 
::ll::UntypedStorage< 8, 16 > mUnk2914ad
 
::ll::UntypedStorage< 1, 1 > mUnke50504
 

Constructor & Destructor Documentation

◆ WinHttpConnection()

MCAPI xbox::httpclient::WinHttpConnection::WinHttpConnection ( void * hSession,
::HC_CALL * call,
::xbox::httpclient::proxy_type proxyType,
::xbox::httpclient::XPlatSecurityInformation && securityInformation )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ Close()

MCAPI long xbox::httpclient::WinHttpConnection::Close ( ::std::function< void()> callback)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ HttpCallPerformAsync()

MCAPI long xbox::httpclient::WinHttpConnection::HttpCallPerformAsync ( ::XAsyncBlock * async)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Initialize() [1/3]

MCAPI long xbox::httpclient::WinHttpConnection::Initialize ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ SendRequest()

MCAPI void xbox::httpclient::WinHttpConnection::SendRequest ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ StartWinHttpClose()

MCAPI void xbox::httpclient::WinHttpConnection::StartWinHttpClose ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketConnectAsync()

MCAPI long xbox::httpclient::WinHttpConnection::WebSocketConnectAsync ( ::XAsyncBlock * async)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketDisconnect()

MCAPI long xbox::httpclient::WinHttpConnection::WebSocketDisconnect ( ::HCWebSocketCloseStatus closeStatus)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketReadAsync()

MCAPI long xbox::httpclient::WinHttpConnection::WebSocketReadAsync ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketReadComplete()

MCAPI long xbox::httpclient::WinHttpConnection::WebSocketReadComplete ( bool binaryMessage,
bool endOfMessage )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketSendMessage()

MCAPI void xbox::httpclient::WinHttpConnection::WebSocketSendMessage ( ::xbox::httpclient::WinHttpConnection::WebSocketSendContext const & sendContext)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketSendMessageAsync() [1/2]

MCAPI long xbox::httpclient::WinHttpConnection::WebSocketSendMessageAsync ( ::XAsyncBlock * async,
char const * message )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketSendMessageAsync() [2/2]

MCAPI long xbox::httpclient::WinHttpConnection::WebSocketSendMessageAsync ( ::XAsyncBlock * async,
uchar const * payloadBytes,
uint64 payloadSize,
::_WINHTTP_WEB_SOCKET_BUFFER_TYPE payloadType )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ complete_task()

MCAPI void xbox::httpclient::WinHttpConnection::complete_task ( long translatedHR,
uint platformSpecificError )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ on_websocket_disconnected()

MCAPI void xbox::httpclient::WinHttpConnection::on_websocket_disconnected ( ushort closeReason)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Initialize() [2/3]

static MCAPI ::xbox::httpclient::Result<::std::shared_ptr<::xbox::httpclient::WinHttpConnection > > xbox::httpclient::WinHttpConnection::Initialize ( void * hSession,
::HC_CALL * call,
::xbox::httpclient::proxy_type proxyType,
::xbox::httpclient::XPlatSecurityInformation && securityInformation )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ Initialize() [3/3]

static MCAPI ::xbox::httpclient::Result<::std::shared_ptr<::xbox::httpclient::WinHttpConnection > > xbox::httpclient::WinHttpConnection::Initialize ( void * hSession,
::HC_WEBSOCKET_OBSERVER * webSocket,
char const * uri,
char const * subprotocol,
::xbox::httpclient::proxy_type proxyType,
::xbox::httpclient::XPlatSecurityInformation && securityInformation )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketConnectProvider()

static MCAPI long xbox::httpclient::WinHttpConnection::WebSocketConnectProvider ( ::XAsyncOp op,
::XAsyncProviderData const * data )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ WebSocketSendProvider()

static MCAPI long xbox::httpclient::WinHttpConnection::WebSocketSendProvider ( ::XAsyncOp op,
::XAsyncProviderData const * data )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _multiple_segment_write_data()

static MCAPI void xbox::httpclient::WinHttpConnection::_multiple_segment_write_data ( ::xbox::httpclient::WinHttpConnection * pRequestContext)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ callback_status_data_available()

static MCAPI void xbox::httpclient::WinHttpConnection::callback_status_data_available ( void * hRequestHandle,
::xbox::httpclient::WinHttpConnection * pRequestContext,
void * statusInfo )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ callback_status_headers_available()

static MCAPI void xbox::httpclient::WinHttpConnection::callback_status_headers_available ( void * hRequestHandle,
::xbox::httpclient::WinHttpConnection * pRequestContext,
void *  )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ callback_status_request_error()

static MCAPI void xbox::httpclient::WinHttpConnection::callback_status_request_error ( void * hRequestHandle,
::xbox::httpclient::WinHttpConnection * pRequestContext,
void * statusInfo )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ callback_websocket_status_headers_available()

static MCAPI void xbox::httpclient::WinHttpConnection::callback_websocket_status_headers_available ( void * hRequestHandle,
::xbox::httpclient::WinHttpCallbackContext * winHttpContext )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ completion_callback()

static MCAPI void xbox::httpclient::WinHttpConnection::completion_callback ( void * hRequestHandle,
uint64 context,
ulong statusCode,
void * statusInfo,
ulong statusInfoLength )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ flush_response_buffer()

static MCAPI long xbox::httpclient::WinHttpConnection::flush_response_buffer ( ::xbox::httpclient::WinHttpConnection * pRequestContext)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ parse_headers_string()

static MCAPI void xbox::httpclient::WinHttpConnection::parse_headers_string ( ::HC_CALL * call,
wchar_t * headersStr )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ parse_status_code()

static MCAPI uint xbox::httpclient::WinHttpConnection::parse_status_code ( ::HC_CALL * call,
void * hRequestHandle,
::xbox::httpclient::WinHttpConnection * pRequestContext )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ read_next_response_chunk()

static MCAPI void xbox::httpclient::WinHttpConnection::read_next_response_chunk ( ::xbox::httpclient::WinHttpConnection * pRequestContext,
ulong  )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * xbox::httpclient::WinHttpConnection::$ctor ( void * hSession,
::HC_CALL * call,
::xbox::httpclient::proxy_type proxyType,
::xbox::httpclient::XPlatSecurityInformation && securityInformation )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $dtor()

MCAPI void xbox::httpclient::WinHttpConnection::$dtor ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $vftable()

static MCAPI void ** xbox::httpclient::WinHttpConnection::$vftable ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: