|
PersistentWebSocket & | operator= (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, ::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > lastResult, ::Bedrock::Http::RetryPolicy &&retry) |
|
MCAPI void | _onConnect (::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > result, ::Bedrock::Http::RetryPolicy &&retry) |
|
MCAPI void | _reconnect (::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > lastResult, ::Bedrock::Http::RetryPolicy &&retry) |
|
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::HC_WEBSOCKET_OBSERVER * | _allocateSocket (::std::future< void > connectCompleted) |
|
MCAPI ::std::shared_ptr< ::Bedrock::Threading::IAsyncResult<::nonstd::expected<::Bedrock::Http::StatusCode, ::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 >) |
|
◆ 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.
◆ onClose()
virtual void Bedrock::Http::PersistentWebSocket::onClose |
( |
uint | status | ) |
|
|
virtual |
◆ _connectWithRetry()
- 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() [1/2]
MCAPI void Bedrock::Http::PersistentWebSocket::_onConnect |
( |
::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > | result, |
|
|
::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 |
( |
::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > | lastResult, |
|
|
::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.
◆ 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()
- 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.
◆ _allocateSocket()
MCAPI::HC_WEBSOCKET_OBSERVER * Bedrock::Http::WebSocket::_allocateSocket |
( |
::std::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()
- 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()
- 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()
- 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() [2/2]
- 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: