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

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::HC_WEBSOCKET_OBSERVER * _allocateSocket (::brstd::future< void > connectCompleted)
MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > > connect (::std::string const &uri, ::Bedrock::Http::HeaderCollection const &headers)
MCAPI bool disconnect ()
MCAPI bool isConnected () const
MCAPI void setPingInterval (::std::chrono::seconds interval)
MCAPI void * $ctor ()
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 ** $vftable ()
static MCAPI long _deallocateSocket (::HC_WEBSOCKET_OBSERVER *handle)
static MCAPI void _deallocateSocketAsync (::HC_WEBSOCKET_OBSERVER *handle)
static MCAPI void _onConnect (::XAsyncBlock *asyncConnect, ::std::weak_ptr<::Bedrock::Http::WebSocket > weakThis, ::Bedrock::Threading::AsyncPromise<::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > > onComplete, ::HC_WEBSOCKET_OBSERVER *connectHandle)
static MCAPI void _onSend (::XAsyncBlock *asyncSend, ::Bedrock::Threading::AsyncPromise<::std::error_code > onComplete)

Public Attributes

::ll::UntypedStorage< 8, 80 > mUnkd25108
::ll::UntypedStorage< 8, 24 > mUnkc5aca1
::ll::UntypedStorage< 1, 1 > mUnkc75957
::ll::UntypedStorage< 8, 80 > mUnk59fcc6
::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.

◆ $vftable()

MCAPI void ** ScriptModuleMinecraftNet::ScriptNativeWebSocket::$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.

◆ _allocateSocket()

MCAPI::HC_WEBSOCKET_OBSERVER * Bedrock::Http::WebSocket::_allocateSocket ( ::brstd::future< void > connectCompleted)
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.

◆ 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.

◆ disconnect()

MCAPI bool Bedrock::Http::WebSocket::disconnect ( )
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.

◆ isConnected()

MCAPI bool Bedrock::Http::WebSocket::isConnected ( ) 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.

◆ setPingInterval()

MCAPI void Bedrock::Http::WebSocket::setPingInterval ( ::std::chrono::seconds interval)
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.

◆ _deallocateSocket()

MCAPI long Bedrock::Http::WebSocket::_deallocateSocket ( ::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.

◆ _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.

◆ _onConnect()

MCAPI void Bedrock::Http::WebSocket::_onConnect ( ::XAsyncBlock * asyncConnect,
::std::weak_ptr<::Bedrock::Http::WebSocket > weakThis,
::Bedrock::Threading::AsyncPromise<::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > > onComplete,
::HC_WEBSOCKET_OBSERVER * connectHandle )
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.

◆ _onSend()

MCAPI void Bedrock::Http::WebSocket::_onSend ( ::XAsyncBlock * asyncSend,
::Bedrock::Threading::AsyncPromise<::std::error_code > onComplete )
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.

◆ $ctor()

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

◆ $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.

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