Navigation
API > API/Plugins > API/Plugins/WebSocketNetworking
Inheritance Hierarchy
- UNetDriver
- UWebSocketNetDriver
References
| Module | WebSocketNetworking |
| Header | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/WebSocketNetDriver.h |
| Include | #include "WebSocketNetDriver.h" |
Syntax
UCLASS (Transient, Config=Engine)
class UWebSocketNetDriver : public UNetDriver
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | WebSocketPort | WebSocket server port | |
| IWebSocketServer * | WebSocketServer | IWebSocketServer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWebSocketNetDriver
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UWebSocketConnection * | |||
| ISocketSubsystem * | Stub implementation because for websockets we don't use any underlying socket sub system. | ||
| bool | HandleSocketsCommand
(
const TCHAR* Cmd, |
Exec command handlers | |
| bool | InitBase
(
bool bInitAsClient, |
||
| bool | InitConnect
(
FNetworkNotify* InNotify, |
||
| bool | InitListen
(
FNetworkNotify* InNotify, |
||
| bool | IsAvailable () |
||
| bool | |||
| void | |||
| FString | |||
| void | LowLevelSend
(
TSharedPtr< const FInternetAddr > Address, |
||
| void | Callback Function for New Connection from a client is accepted by this server | ||
| void | Callback Function for when this client Connects to the server | ||
| void | TickDispatch
(
float DeltaTime |