|
LeviLamina
|
Public Member Functions | |
| PersistentWebSocket & | operator= (PersistentWebSocket const &) |
| PersistentWebSocket (PersistentWebSocket const &) | |
| virtual bool | shouldReconnect () const |
| virtual ::Bedrock::Threading::Async<::Bedrock::Http::Url > | getUrl ()=0 |
| virtual ::Bedrock::Threading::Async<::Bedrock::Http::HeaderCollection > | getHeaders () |
| virtual::Bedrock::Http::RetryPolicy | getReconnectPolicy () |
| virtual void | onConnect () |
| virtual void | onDisconnect (bool, uint) |
| virtual void | onClose (uint status) |
| MCAPI void | _connectWithRetry (::std::string const &uri, ::Bedrock::Http::HeaderCollection const &headers, ::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code >, ::Bedrock::Http::RetryPolicy &&retry) |
| MCAPI void | _onCloseMaybeReconnect (uint status, bool shouldReconnect) |
| 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 ::Bedrock::Threading::Async<::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > > | connectWithRetry (::Bedrock::Http::RetryPolicy &&retry) |
| MCAPI void | disconnect () |
| MCNAPI_S void * | $ctor () |
| MCAPI void | $dtor () |
| MCAPI bool | $shouldReconnect () const |
| MCAPI ::Bedrock::Threading::Async<::Bedrock::Http::HeaderCollection > | $getHeaders () |
| MCAPI::Bedrock::Http::RetryPolicy | $getReconnectPolicy () |
| MCAPI void | $onConnect () |
| MCAPI void | $onDisconnect (bool, uint) |
| MCAPI void | $onClose (uint status) |
| virtual ::Bedrock::Threading::Async<::std::error_code > | send (::std::string const &message) const |
| virtual void | onMessage (::std::string_view) |
| virtual void | onBinaryMessage (::gsl::span< uchar const >) |
| MCAPI::HC_WEBSOCKET_OBSERVER * | _allocateSocket (::std::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 ::Bedrock::Threading::Async<::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<::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, 8 > | mUnk5730d9 |
| ::ll::UntypedStorage< 8, 104 > | mUnkd613a3 |
| ::ll::UntypedStorage< 8, 80 > | mUnk59fcc6 |
| ::ll::UntypedStorage< 8, 8 > | mUnk2d81af |
| ::ll::UntypedStorage< 8, 8 > | mUnk5cda29 |
|
virtual |
Reimplemented from Bedrock::Http::WebSocket.
| MCAPI void Bedrock::Http::PersistentWebSocket::_connectWithRetry | ( | ::std::string const & | uri, |
| ::Bedrock::Http::HeaderCollection const & | headers, | ||
| ::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > | , | ||
| ::Bedrock::Http::RetryPolicy && | retry ) |
| MCAPI void Bedrock::Http::PersistentWebSocket::_onCloseMaybeReconnect | ( | uint | status, |
| bool | shouldReconnect ) |
| MCAPI void Bedrock::Http::PersistentWebSocket::_onConnect | ( | ::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > | result, |
| ::Bedrock::Http::RetryPolicy && | retry ) |
| MCAPI void Bedrock::Http::PersistentWebSocket::_reconnect | ( | ::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > | lastResult, |
| ::Bedrock::Http::RetryPolicy && | retry ) |
| MCAPI ::Bedrock::Threading::Async<::nonstd::expected<::Bedrock::Http::StatusCode, ::std::error_code > > Bedrock::Http::PersistentWebSocket::connectWithRetry | ( | ::Bedrock::Http::RetryPolicy && | retry | ) |
| MCAPI void Bedrock::Http::PersistentWebSocket::disconnect | ( | ) |
| MCAPI void Bedrock::Http::PersistentWebSocket::$dtor | ( | ) |
| MCAPI bool Bedrock::Http::PersistentWebSocket::$shouldReconnect | ( | ) | const |
| MCAPI ::Bedrock::Threading::Async<::Bedrock::Http::HeaderCollection > Bedrock::Http::PersistentWebSocket::$getHeaders | ( | ) |
| MCAPI::Bedrock::Http::RetryPolicy Bedrock::Http::PersistentWebSocket::$getReconnectPolicy | ( | ) |
| MCAPI void Bedrock::Http::PersistentWebSocket::$onConnect | ( | ) |
| MCAPI void Bedrock::Http::PersistentWebSocket::$onDisconnect | ( | bool | , |
| uint | ) |
| MCAPI void Bedrock::Http::PersistentWebSocket::$onClose | ( | uint | status | ) |
|
static |
|
inherited |
|
inherited |
|
staticinherited |
|
staticinherited |
|
staticinherited |
|
inherited |
|
inherited |
|
inherited |