Navigation
API > API/Runtime > API/Runtime/HttpServer > API/Runtime/HttpServer/FHttpServerModule
References
| Module | HttpServer |
| Header | /Engine/Source/Runtime/Online/HTTPServer/Public/HttpServerModule.h |
| Include | #include "HttpServerModule.h" |
| Source | /Engine/Source/Runtime/Online/HTTPServer/Private/HttpServerModule.cpp |
TSharedPtr< IHttpRouter > GetHttpRouter
&40;
uint32 Port,
bool bFailOnBindFailure
&41;
Remarks
Per-port-binding access to an http router An IHttpRouter instance that can be leveraged to respond to HTTP requests
Parameters
| Name | Description |
|---|---|
| Port | The listener's bound port |
| bFailOnBindFailure | if true, return nullptr if we fail to bind/listen on the given port |