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

Classes

struct  ConnectContext
 
struct  EventCallbacks
 
struct  ProviderContext
 

Public Types

enum class  State : int {
  Initial = 0 , Connecting = 1 , Connected = 2 , Disconnecting = 3 ,
  Disconnected = 4
}
 

Public Member Functions

WebSocketoperator= (WebSocket const &)
 
 WebSocket (WebSocket const &)
 
MCAPI long ConnectAsync (::http_string &&uri, ::http_string &&subProtocol, ::XAsyncBlock *asyncBlock)
 
MCAPI long Disconnect ()
 
MCAPI ::std::map< ::http_string, ::http_string, ::xbox::httpclient::HeaderCompare, ::http_stl_allocator<::std::pair<::http_string const, ::http_string > > > const & Headers () const
 
MCAPI uint64 MaxReceiveBufferSize () const
 
MCAPI uint PingInterval () const
 
MCAPI uint RegisterEventCallbacks (void(*messageFunc)(::HC_WEBSOCKET_OBSERVER *, char const *, void *), void(*binaryMessageFunc)(::HC_WEBSOCKET_OBSERVER *, uchar const *, uint, void *), void(*binaryFragmentFunc)(::HC_WEBSOCKET_OBSERVER *, uchar const *, uint, bool, void *), void(*closeFunc)(::HC_WEBSOCKET_OBSERVER *, ::HCWebSocketCloseStatus, void *), void *callbackContext)
 
MCAPI long SendAsync (char const *message, ::XAsyncBlock *asyncBlock)
 
MCAPI long SetHeader (::http_string &&headerName, ::http_string &&headerValue)
 
MCAPI long SetPingInterval (uint pingInterval)
 
MCAPI WebSocket (uint64 _id, ::xbox::httpclient::IWebSocketProvider &provider)
 
MCAPI void * $ctor (uint64 _id, ::xbox::httpclient::IWebSocketProvider &provider)
 
MCAPI void $dtor ()
 

Static Public Member Functions

static MCAPI void BinaryMessageFragmentFunc (::HC_WEBSOCKET_OBSERVER *handle, uchar const *bytes, uint payloadSize, bool isLastFragment, void *)
 
static MCAPI void BinaryMessageFunc (::HC_WEBSOCKET_OBSERVER *handle, uchar const *bytes, uint payloadSize, void *)
 
static MCAPI void CloseFunc (::HC_WEBSOCKET_OBSERVER *handle, ::HCWebSocketCloseStatus status, void *)
 
static MCAPI long ConnectAsyncProvider (::XAsyncOp op, ::XAsyncProviderData const *data)
 
static MCAPI void ConnectComplete (::XAsyncBlock *async)
 
static MCAPI void MessageFunc (::HC_WEBSOCKET_OBSERVER *handle, char const *message, void *)
 
static MCAPI void NotifyWebSocketRoutedHandlers (::HC_WEBSOCKET_OBSERVER *websocket, bool receiving, char const *message, uchar const *payloadBytes, uint64 payloadSize)
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk5902c2
 
::ll::UntypedStorage< 8, 16 > mUnkbe9de1
 
::ll::UntypedStorage< 8, 16 > mUnk58b273
 
::ll::UntypedStorage< 1, 1 > mUnkbfe82e
 
::ll::UntypedStorage< 8, 32 > mUnk563f5a
 
::ll::UntypedStorage< 8, 32 > mUnk9dcd0a
 
::ll::UntypedStorage< 8, 32 > mUnkf02244
 
::ll::UntypedStorage< 8, 8 > mUnk9fe95b
 
::ll::UntypedStorage< 4, 4 > mUnke41cb9
 
::ll::UntypedStorage< 8, 80 > mUnkbf06bc
 
::ll::UntypedStorage< 4, 4 > mUnk355c21
 
::ll::UntypedStorage< 8, 80 > mUnk970287
 
::ll::UntypedStorage< 8, 16 > mUnka1bdf9
 
::ll::UntypedStorage< 4, 4 > mUnkb3bdbc
 
::ll::UntypedStorage< 8, 8 > mUnk16f633
 
::ll::UntypedStorage< 8, 8 > mUnkc50872
 

Constructor & Destructor Documentation

◆ WebSocket()

MCAPI xbox::httpclient::WebSocket::WebSocket ( uint64 _id,
::xbox::httpclient::IWebSocketProvider & provider )
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

◆ ConnectAsync()

MCAPI long xbox::httpclient::WebSocket::ConnectAsync ( ::http_string && uri,
::http_string && subProtocol,
::XAsyncBlock * asyncBlock )
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.

◆ Disconnect()

MCAPI long xbox::httpclient::WebSocket::Disconnect ( )
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.

◆ Headers()

MCAPI ::std::map< ::http_string, ::http_string, ::xbox::httpclient::HeaderCompare, ::http_stl_allocator<::std::pair<::http_string const, ::http_string > > > const & xbox::httpclient::WebSocket::Headers ( ) const
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.

◆ MaxReceiveBufferSize()

MCAPI uint64 xbox::httpclient::WebSocket::MaxReceiveBufferSize ( ) const
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.

◆ PingInterval()

MCAPI uint xbox::httpclient::WebSocket::PingInterval ( ) const
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.

◆ RegisterEventCallbacks()

MCAPI uint xbox::httpclient::WebSocket::RegisterEventCallbacks ( void(* messageFunc )(::HC_WEBSOCKET_OBSERVER *, char const *, void *),
void(* binaryMessageFunc )(::HC_WEBSOCKET_OBSERVER *, uchar const *, uint, void *),
void(* binaryFragmentFunc )(::HC_WEBSOCKET_OBSERVER *, uchar const *, uint, bool, void *),
void(* closeFunc )(::HC_WEBSOCKET_OBSERVER *, ::HCWebSocketCloseStatus, void *),
void * callbackContext )
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.

◆ SendAsync()

MCAPI long xbox::httpclient::WebSocket::SendAsync ( char const * message,
::XAsyncBlock * asyncBlock )
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.

◆ SetHeader()

MCAPI long xbox::httpclient::WebSocket::SetHeader ( ::http_string && headerName,
::http_string && headerValue )
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.

◆ SetPingInterval()

MCAPI long xbox::httpclient::WebSocket::SetPingInterval ( uint pingInterval)
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.

◆ BinaryMessageFragmentFunc()

static MCAPI void xbox::httpclient::WebSocket::BinaryMessageFragmentFunc ( ::HC_WEBSOCKET_OBSERVER * handle,
uchar const * bytes,
uint payloadSize,
bool isLastFragment,
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.

◆ BinaryMessageFunc()

static MCAPI void xbox::httpclient::WebSocket::BinaryMessageFunc ( ::HC_WEBSOCKET_OBSERVER * handle,
uchar const * bytes,
uint payloadSize,
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.

◆ CloseFunc()

static MCAPI void xbox::httpclient::WebSocket::CloseFunc ( ::HC_WEBSOCKET_OBSERVER * handle,
::HCWebSocketCloseStatus status,
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.

◆ ConnectAsyncProvider()

static MCAPI long xbox::httpclient::WebSocket::ConnectAsyncProvider ( ::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.

◆ ConnectComplete()

static MCAPI void xbox::httpclient::WebSocket::ConnectComplete ( ::XAsyncBlock * async)
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.

◆ MessageFunc()

static MCAPI void xbox::httpclient::WebSocket::MessageFunc ( ::HC_WEBSOCKET_OBSERVER * handle,
char const * message,
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.

◆ NotifyWebSocketRoutedHandlers()

static MCAPI void xbox::httpclient::WebSocket::NotifyWebSocketRoutedHandlers ( ::HC_WEBSOCKET_OBSERVER * websocket,
bool receiving,
char const * message,
uchar const * payloadBytes,
uint64 payloadSize )
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::WebSocket::$ctor ( uint64 _id,
::xbox::httpclient::IWebSocketProvider & provider )
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::WebSocket::$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::WebSocket::$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: