Navigation
API > API/Plugins > API/Plugins/WebSocketNetworking
References
| Module | WebSocketNetworking |
| Header | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/IWebSocketServer.h |
| Include | #include "IWebSocketServer.h" |
Syntax
class IWebSocketServer
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | EnableHTTPServer
(
TArray< FWebSocketHttpMount > DirectoriesToServe |
Extends the websocket server to additionally serve static content from on-disk directories using HTTP. | |
| FString | Info () |
Describe this libwebsocket server | |
| bool | Init
(
uint32 Port, |
Initialize the server and start listening for messages. | |
| void | SetFilterConnectionCallback
(
FWebSocketFilterConnectionCallback InFilterConnectionCallback |
Set a filter callback, used to reject connections based on the origin header. | |
| void | Tick () |
Tick the server. |