Polyphase Game Engine
Loading...
Searching...
No Matches
WebSocketClient.cpp File Reference
#include "Network/WebSocketClient.h"
#include "Network/Network.h"
#include "Network/NetworkConstants.h"
#include "Network/WebSocketFraming.h"
#include "Network/WebSocketHandshake.h"
#include "Network/WebSocketTransport.h"
#include "Log.h"
#include <deque>
#include <stdio.h>
#include <string.h>
#include <time.h>

Namespaces

namespace  WebSocket
 

Macros

#define WS_CONNECT_TIMEOUT_SECONDS   15
 
#define WS_CLOSE_GRACE_SECONDS   5
 

Functions

bool WsIsSecureSupported ()
 
const char * WsSecureUnavailableMessage ()
 
WsTransport * WsCreateSecureTransport (const WsUrl &, const WsConnectOptions &, std::string &outError)
 
void WebSocket::Initialize ()
 
void WebSocket::Shutdown ()
 
void WebSocket::Tick ()
 
bool WebSocket::IsAvailable ()
 
const char * WebSocket::GetMissingDependencyMessage ()
 
std::shared_ptr< WsConnection > WebSocket::Connect (const WsConnectOptions &options, std::string &outError)
 

Macro Definition Documentation

◆ WS_CLOSE_GRACE_SECONDS

#define WS_CLOSE_GRACE_SECONDS   5

◆ WS_CONNECT_TIMEOUT_SECONDS

#define WS_CONNECT_TIMEOUT_SECONDS   15

Function Documentation

◆ WsCreateSecureTransport()

WsTransport * WsCreateSecureTransport ( const WsUrl &  url,
const WsConnectOptions &  options,
std::string &  outError 
)

◆ WsIsSecureSupported()

bool WsIsSecureSupported ( )

◆ WsSecureUnavailableMessage()

const char * WsSecureUnavailableMessage ( )