Navigation
API > API/Plugins > API/Plugins/WebSocketNetworking > API/Plugins/WebSocketNetworking/IWebSocketServer
References
| Module | WebSocketNetworking |
| Header | /Engine/Plugins/Experimental/WebSocketNetworking/Source/WebSocketNetworking/Public/IWebSocketServer.h |
| Include | #include "IWebSocketServer.h" |
void EnableHTTPServer
&40;
TArray< FWebSocketHttpMount > DirectoriesToServe
&41;
Remarks
Extends the websocket server to additionally serve static content from on-disk directories using HTTP. These HTTP requests will use the same port as the one specified for websocket use in Init_. Note: This function will not start the webserver, call Init_ to start the websocket/webserver.
Parameters
| Name | Description |
|---|---|
| DirectoriesToServe | The directories for the Webserver to serve. |