LeviLamina
Loading...
Searching...
No Matches
IWebSocketProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/lib_http_client/HCWebSocketCloseStatus.h"
7#include "mc/external/lib_http_client/http_stl_allocator.h"
8
9// auto generated forward declare list
10// clang-format off
12struct XAsyncBlock;
13// clang-format on
14
15namespace xbox::httpclient {
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 // vIndex: 0
22 virtual ~IWebSocketProvider() = default;
23
24 // vIndex: 1
25 virtual HRESULT
26 ConnectAsync(::http_string const&, ::http_string const&, ::HC_WEBSOCKET_OBSERVER*, ::XAsyncBlock*) = 0;
27
28 // vIndex: 2
29 virtual HRESULT SendAsync(::HC_WEBSOCKET_OBSERVER*, char const*, ::XAsyncBlock*) = 0;
30
31 // vIndex: 3
32 virtual HRESULT SendBinaryAsync(::HC_WEBSOCKET_OBSERVER*, uchar const*, uint, ::XAsyncBlock*) = 0;
33
34 // vIndex: 4
35 virtual HRESULT Disconnect(::HC_WEBSOCKET_OBSERVER*, ::HCWebSocketCloseStatus) = 0;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41
42 // NOLINTEND
43};
44
45} // namespace xbox::httpclient
Definition IWebSocketProvider.h:17
Definition HC_WEBSOCKET_OBSERVER.h:14
Definition XAsyncBlock.h:10