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