LeviLamina
Loading...
Searching...
No Matches
ScriptModuleMinecraftNet::ScriptNativeWebSocket Class Reference
Inheritance diagram for ScriptModuleMinecraftNet::ScriptNativeWebSocket:

Public Types

enum class  ConnectionState : int { Connecting = 0 , Open = 1 , Closed = 2 }

Public Member Functions

ScriptNativeWebSocket & operator= (ScriptNativeWebSocket const &)
 ScriptNativeWebSocket (ScriptNativeWebSocket const &)
virtual void onMessage (::std::string_view message)
virtual void onClose (uint)
MCAPI void $onMessage (::std::string_view message)
MCAPI void $onClose (uint)
virtual ::Bedrock::Threading::Async<::std::error_code > send (::std::string const &message) const
virtual void onBinaryMessage (::gsl::span< uchar const >)
MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > > connect (::std::string const &uri, ::Bedrock::Http::HeaderCollection const &headers)
MCAPI void $dtor ()
MCAPI ::Bedrock::Threading::Async<::std::error_code > $send (::std::string const &message) const
MCAPI void $onBinaryMessage (::gsl::span< uchar const >)

Static Public Member Functions

static MCAPI void _deallocateSocketAsync (::HC_WEBSOCKET_OBSERVER *handle)
static MCAPI void ** $vftable ()

Public Attributes

::ll::UntypedStorage< 8, 80 > mUnkff5ccb
::ll::UntypedStorage< 8, 24 > mUnkc5aca1
::ll::UntypedStorage< 1, 1 > mUnkc75957
::ll::UntypedStorage< 4, 4 > mUnkc3a64c
::ll::UntypedStorage< 8, 80 > mUnk2c8c31
::ll::UntypedStorage< 8, 8 > mUnk2d81af
::ll::UntypedStorage< 8, 8 > mUnk5cda29

Member Function Documentation

◆ onMessage()

virtual void ScriptModuleMinecraftNet::ScriptNativeWebSocket::onMessage ( ::std::string_view message)
virtual

Reimplemented from Bedrock::Http::WebSocket.

◆ onClose()

virtual void ScriptModuleMinecraftNet::ScriptNativeWebSocket::onClose ( uint )
virtual

Reimplemented from Bedrock::Http::WebSocket.

◆ $onMessage()

MCAPI void ScriptModuleMinecraftNet::ScriptNativeWebSocket::$onMessage ( ::std::string_view 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.

◆ $onClose()

MCAPI void ScriptModuleMinecraftNet::ScriptNativeWebSocket::$onClose ( uint )
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.

◆ connect()

MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > > Bedrock::Http::WebSocket::connect ( ::std::string const & uri,
::Bedrock::Http::HeaderCollection const & headers )
inherited
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.

◆ _deallocateSocketAsync()

MCAPI void Bedrock::Http::WebSocket::_deallocateSocketAsync ( ::HC_WEBSOCKET_OBSERVER * handle)
staticinherited
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 Bedrock::Http::WebSocket::$dtor ( )
inherited
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.

◆ $send()

MCAPI ::Bedrock::Threading::Async<::std::error_code > Bedrock::Http::WebSocket::$send ( ::std::string const & message) const
inherited
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.

◆ $onBinaryMessage()

MCAPI void Bedrock::Http::WebSocket::$onBinaryMessage ( ::gsl::span< uchar const > )
inherited
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()

MCAPI void ** Bedrock::Http::WebSocket::$vftable ( )
staticinherited
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: