Navigation
API > API/Runtime > API/Runtime/HttpServer
| Name | IHttpRouter |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/HTTPServer/Public/IHttpRouter.h |
| Include Path | #include "IHttpRouter.h" |
Syntax
class IHttpRouter : public TSharedFromThis< IHttpRouter >
Inheritance Hierarchy
- TSharedFromThis< IHttpRouter > → IHttpRouter
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IHttpRouter() |
Destructor | IHttpRouter.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FHttpRouteHandle BindRoute
(
const FHttpPath& HttpPath, |
Binds the caller-supplied Uri to the caller-supplied handler | IHttpRouter.h | |
bool Query
(
const TSharedPtr< FHttpServerRequest >& Request, |
Query the router with a request. | IHttpRouter.h | |
FDelegateHandle RegisterRequestPreprocessor
(
FHttpRequestHandler RequestPreprocessor |
Register a request preprocessor. | IHttpRouter.h | |
void UnbindRoute
(
const FHttpRouteHandle& RouteHandle |
Unbinds the caller-supplied Route | IHttpRouter.h | |
void UnregisterRequestPreprocessor
(
const FDelegateHandle& RequestPreprocessorHandle |
Unregister a request preprocessor. | IHttpRouter.h |