#include <ApexWebSocket.h>
|
| ApexWebSocket () |
|
| ~ApexWebSocket () |
|
bool | AttemptConnect (FString Uri, FString Protocol="wss") |
|
| DECLARE_EVENT (ApexWebSocket, FApexSocketConnected) |
|
| DECLARE_EVENT_OneParam (ApexWebSocket, FApexSocketAuthCodeRetrieved, FString AuthenticationCode) |
|
| DECLARE_EVENT_OneParam (ApexWebSocket, FApexSocketAuthenticateComplete, class UVaRestJsonObject *LoginJsonObject) |
|
| DECLARE_EVENT_OneParam (ApexWebSocket, FApexSocketConnectFailed, const FString &) |
|
| DECLARE_EVENT_ThreeParams (ApexWebSocket, FApexSocketDisconnected, int32 StatusCode, const FString &Reason, bool bWasClean) |
|
bool | IsWebsocketConnected () |
|
FApexSocketAuthCodeRetrieved & | OnApexAuthCodeRetrieved () |
|
FApexSocketAuthenticateComplete & | OnApexAuthenticateComplete () |
|
FApexSocketConnected & | OnApexWebSocketConnected () |
|
FApexSocketConnectFailed & | OnApexWebSocketConnectFailed () |
|
FApexSocketDisconnected & | OnApexWebSocketDisconnected () |
|
void | RequestAuthorizationCode () |
|
Definition at line 45 of file ApexWebSocket.h.
◆ ApexWebSocket()
ApexWebSocket::ApexWebSocket |
( |
| ) |
|
◆ ~ApexWebSocket()
ApexWebSocket::~ApexWebSocket |
( |
| ) |
|
◆ AttemptConnect()
bool ApexWebSocket::AttemptConnect |
( |
FString | Uri, |
|
|
FString | Protocol = "wss" ) |
◆ CleanUpRequests()
void ApexWebSocket::CleanUpRequests |
( |
| ) |
|
|
private |
◆ DECLARE_EVENT()
ApexWebSocket::DECLARE_EVENT |
( |
ApexWebSocket | , |
|
|
FApexSocketConnected | ) |
◆ DECLARE_EVENT_OneParam() [1/3]
ApexWebSocket::DECLARE_EVENT_OneParam |
( |
ApexWebSocket | , |
|
|
FApexSocketAuthCodeRetrieved | , |
|
|
FString | AuthenticationCode ) |
◆ DECLARE_EVENT_OneParam() [2/3]
ApexWebSocket::DECLARE_EVENT_OneParam |
( |
ApexWebSocket | , |
|
|
FApexSocketAuthenticateComplete | , |
|
|
class UVaRestJsonObject * | LoginJsonObject ) |
◆ DECLARE_EVENT_OneParam() [3/3]
ApexWebSocket::DECLARE_EVENT_OneParam |
( |
ApexWebSocket | , |
|
|
FApexSocketConnectFailed | , |
|
|
const FString & | ) |
◆ DECLARE_EVENT_ThreeParams()
ApexWebSocket::DECLARE_EVENT_ThreeParams |
( |
ApexWebSocket | , |
|
|
FApexSocketDisconnected | , |
|
|
int32 | StatusCode, |
|
|
const FString & | Reason, |
|
|
bool | bWasClean ) |
◆ HandleAuthCodeReceived()
void ApexWebSocket::HandleAuthCodeReceived |
( |
UVaRestJsonObject * | JsonObject | ) |
|
|
private |
◆ HandleAuthenticateComplete()
void ApexWebSocket::HandleAuthenticateComplete |
( |
UVaRestJsonObject * | JsonObject | ) |
|
|
private |
◆ IsWebsocketConnected()
bool ApexWebSocket::IsWebsocketConnected |
( |
| ) |
|
◆ OnApexAuthCodeRetrieved()
FApexSocketAuthCodeRetrieved & ApexWebSocket::OnApexAuthCodeRetrieved |
( |
| ) |
|
|
inline |
◆ OnApexAuthenticateComplete()
FApexSocketAuthenticateComplete & ApexWebSocket::OnApexAuthenticateComplete |
( |
| ) |
|
|
inline |
◆ OnApexWebSocketConnected()
FApexSocketConnected & ApexWebSocket::OnApexWebSocketConnected |
( |
| ) |
|
|
inline |
◆ OnApexWebSocketConnectFailed()
FApexSocketConnectFailed & ApexWebSocket::OnApexWebSocketConnectFailed |
( |
| ) |
|
|
inline |
◆ OnApexWebSocketDisconnected()
FApexSocketDisconnected & ApexWebSocket::OnApexWebSocketDisconnected |
( |
| ) |
|
|
inline |
◆ ProcessNextRequest()
void ApexWebSocket::ProcessNextRequest |
( |
| ) |
|
|
private |
◆ RequestAuthorizationCode()
void ApexWebSocket::RequestAuthorizationCode |
( |
| ) |
|
◆ SendData()
void ApexWebSocket::SendData |
( |
FString | Data | ) |
|
|
private |
◆ SetupSocket()
void ApexWebSocket::SetupSocket |
( |
TSharedPtr< IWebSocket > & | Socket, |
|
|
FString | Uri, |
|
|
FString | Protocol ) |
|
private |
◆ ApexAuthCodeRetrievedEvent
FApexSocketAuthCodeRetrieved ApexWebSocket::ApexAuthCodeRetrievedEvent |
|
private |
◆ ApexAuthenticateCompleteEvent
FApexSocketAuthenticateComplete ApexWebSocket::ApexAuthenticateCompleteEvent |
|
private |
◆ ApexConnectedEvent
FApexSocketConnected ApexWebSocket::ApexConnectedEvent |
|
private |
◆ ApexConnectFailedEvent
FApexSocketConnectFailed ApexWebSocket::ApexConnectFailedEvent |
|
private |
◆ ApexDisconnectedEvent
FApexSocketDisconnected ApexWebSocket::ApexDisconnectedEvent |
|
private |
◆ PendingWebsocketRequests
◆ WebSocket
TSharedPtr<IWebSocket> ApexWebSocket::WebSocket |
|
private |
The documentation for this class was generated from the following files: