3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/external/lib_http_client/HCWebSocketCloseStatus.h"
7#include "mc/external/lib_http_client/IWebSocketProvider.h"
8#include "mc/external/lib_http_client/http_stl_allocator.h"
16namespace xbox::httpclient {
39 virtual HRESULT ConnectAsync(
40 ::http_string
const& uri,
41 ::http_string
const& subprotocol,
51 virtual HRESULT SendBinaryAsync(
53 uchar
const* payloadBytes,
75 MCNAPI static ::xbox::httpclient::ExternalWebSocketProvider&
Get();
82 ::http_string
const& uri,
83 ::http_string
const& subprotocol,
92 uchar
const* payloadBytes,
Definition ExternalWebSocketProvider.h:18
MCAPI bool HasCallbacks() const
static MCAPI void ** $vftable()
static MCAPI ::xbox::httpclient::ExternalWebSocketProvider & Get()
MCAPI HRESULT $Disconnect(::HC_WEBSOCKET_OBSERVER *websocketHandle, ::HCWebSocketCloseStatus closeStatus)
MCAPI HRESULT $SendAsync(::HC_WEBSOCKET_OBSERVER *websocketHandle, char const *message, ::XAsyncBlock *async)
MCAPI HRESULT $ConnectAsync(::http_string const &uri, ::http_string const &subprotocol, ::HC_WEBSOCKET_OBSERVER *websocketHandle, ::XAsyncBlock *async)
MCAPI HRESULT $SendBinaryAsync(::HC_WEBSOCKET_OBSERVER *websocketHandle, uchar const *payloadBytes, uint payloadSize, ::XAsyncBlock *async)
Definition IWebSocketProvider.h:17
Definition HC_WEBSOCKET_OBSERVER.h:14
Definition XAsyncBlock.h:10