LeviLamina
Loading...
Searching...
No Matches
Bedrock::Http::PersistentWebSocket Class Referenceabstract
+ Inheritance diagram for Bedrock::Http::PersistentWebSocket:

Public Member Functions

PersistentWebSocketoperator= (PersistentWebSocket const &)
 
 PersistentWebSocket (PersistentWebSocket const &)
 
virtual bool shouldReconnect () const
 
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::Bedrock::Http::Url > > getUrl ()=0
 
virtual ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::Bedrock::Http::HeaderCollection > > getHeaders ()
 
virtual::Bedrock::Http::RetryPolicy getReconnectPolicy ()
 
virtual void onConnect ()
 
virtual void onDisconnect (bool, uint)
 
virtual void onClose (uint status)
 
MCAPI PersistentWebSocket ()
 
MCAPI void _connectWithRetry (::std::string const &uri, ::Bedrock::Http::HeaderCollection const &headers, ::std::error_code lastError, ::Bedrock::Http::RetryPolicy &&retry)
 
MCAPI void _reconnect (::std::error_code lastError, ::Bedrock::Http::RetryPolicy &&retry)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::std::error_code > > connect ()
 
MCAPI void disconnect ()
 
MCAPI void * $ctor ()
 
MCAPI void $dtor ()
 
MCAPI bool $shouldReconnect () const
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::Bedrock::Http::HeaderCollection > > $getHeaders ()
 
MCAPI::Bedrock::Http::RetryPolicy $getReconnectPolicy ()
 
MCAPI void $onConnect ()
 
MCAPI void $onDisconnect (bool, uint)
 
MCAPI void $onClose (uint status)
 
virtual void onMessage (::std::string_view)
 
virtual void onBinaryMessage (::gsl::span< uchar const >)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::std::error_code > > connect (::std::string const &uri, ::Bedrock::Http::HeaderCollection const &headers)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::std::error_code > > send (::std::string const &message) const
 
MCAPI void $onMessage (::std::string_view)
 
MCAPI void $onBinaryMessage (::gsl::span< uchar const >)
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 
static MCAPI void _deallocateSocketAsync (::HC_WEBSOCKET_OBSERVER *handle)
 
static MCAPI void _onConnect (::XAsyncBlock *asyncConnect, ::std::weak_ptr<::Bedrock::Http::WebSocket > weakThis, ::Bedrock::Threading::AsyncPromise<::std::error_code > onComplete, ::HC_WEBSOCKET_OBSERVER *connectHandle)
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk5730d9
 
::ll::UntypedStorage< 8, 104 > mUnk6d60c4
 
::ll::UntypedStorage< 8, 80 > mUnk59fcc6
 
::ll::UntypedStorage< 8, 8 > mUnk2d81af
 
::ll::UntypedStorage< 8, 8 > mUnk5cda29
 

Constructor & Destructor Documentation

◆ PersistentWebSocket()

MCAPI Bedrock::Http::PersistentWebSocket::PersistentWebSocket ( )
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

◆ onClose()

virtual void Bedrock::Http::PersistentWebSocket::onClose ( uint status)
virtual

Reimplemented from Bedrock::Http::WebSocket.

◆ _connectWithRetry()

MCAPI void Bedrock::Http::PersistentWebSocket::_connectWithRetry ( ::std::string const & uri,
::Bedrock::Http::HeaderCollection const & headers,
::std::error_code lastError,
::Bedrock::Http::RetryPolicy && retry )
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.

◆ _reconnect()

MCAPI void Bedrock::Http::PersistentWebSocket::_reconnect ( ::std::error_code lastError,
::Bedrock::Http::RetryPolicy && retry )
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() [1/2]

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::std::error_code > > Bedrock::Http::PersistentWebSocket::connect ( )
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 void Bedrock::Http::PersistentWebSocket::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.

◆ $ctor()

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

◆ $shouldReconnect()

MCAPI bool Bedrock::Http::PersistentWebSocket::$shouldReconnect ( ) 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.

◆ $getHeaders()

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::Bedrock::Http::HeaderCollection > > Bedrock::Http::PersistentWebSocket::$getHeaders ( )
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.

◆ $getReconnectPolicy()

MCAPI::Bedrock::Http::RetryPolicy Bedrock::Http::PersistentWebSocket::$getReconnectPolicy ( )
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::PersistentWebSocket::$onConnect ( )
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.

◆ $onDisconnect()

MCAPI void Bedrock::Http::PersistentWebSocket::$onDisconnect ( bool ,
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.

◆ $onClose()

MCAPI void Bedrock::Http::PersistentWebSocket::$onClose ( uint status)
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 ** Bedrock::Http::PersistentWebSocket::$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.

◆ connect() [2/2]

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::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.

◆ send()

MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult<::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.

◆ _deallocateSocketAsync()

static 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()

static MCAPI void Bedrock::Http::WebSocket::_onConnect ( ::XAsyncBlock * asyncConnect,
::std::weak_ptr<::Bedrock::Http::WebSocket > weakThis,
::Bedrock::Threading::AsyncPromise<::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.

◆ $onMessage()

MCAPI void Bedrock::Http::WebSocket::$onMessage ( ::std::string_view )
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: