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 FWebSocketHttpMount
Remarks
Represents a directory on disk that can be mapped to a url route and served.
For example we may wish to map C:/www/Public_ to /_ of our webserver.
Functions
| Type | Name | Description | |
|---|---|---|---|
| const char * | |||
| const char * | |||
| const char * | GetWebPath () |
||
| bool | |||
| void | SetDefaultFile
(
const FString& InDefaultFile |
Sets a file to serve when the root web path is requested. | |
| void | SetPathOnDisk
(
const FString& InPathOnDisk |
Sets the absolute path on disk to the directory we wish to serve. | |
| void | SetWebPath
(
const FString& InWebPath |
Sets The web url path to use for this mount, e.g. /images . |