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"
14namespace xbox::httpclient {
class WinHttpProvider; }
17namespace xbox::httpclient {
36 virtual HRESULT ConnectAsync(
37 ::http_string
const& uri,
38 ::http_string
const& subprotocol,
48 virtual HRESULT SendBinaryAsync(
50 uchar
const* payloadBytes,
72 MCNAPI
void*
$ctor(::std::shared_ptr<::xbox::httpclient::WinHttpProvider> provider);
79 ::http_string
const& uri,
80 ::http_string
const& subprotocol,
89 uchar
const* payloadBytes,
Definition IWebSocketProvider.h:17
Definition WinHttp_WebSocketProvider.h:19
MCAPI void * $ctor(::std::shared_ptr<::xbox::httpclient::WinHttpProvider > provider)
MCAPI HRESULT $Disconnect(::HC_WEBSOCKET_OBSERVER *websocketHandle, ::HCWebSocketCloseStatus closeStatus)
MCAPI WinHttp_WebSocketProvider(::std::shared_ptr<::xbox::httpclient::WinHttpProvider > provider)
MCAPI HRESULT $SendAsync(::HC_WEBSOCKET_OBSERVER *websocketHandle, char const *message, ::XAsyncBlock *async)
MCAPI HRESULT $SendBinaryAsync(::HC_WEBSOCKET_OBSERVER *websocketHandle, uchar const *payloadBytes, uint payloadSize, ::XAsyncBlock *asyncBlock)
static MCAPI void ** $vftable()
MCAPI HRESULT $ConnectAsync(::http_string const &uri, ::http_string const &subprotocol, ::HC_WEBSOCKET_OBSERVER *websocketHandle, ::XAsyncBlock *async)
Definition HC_WEBSOCKET_OBSERVER.h:14
Definition XAsyncBlock.h:10