Navigation
API > API/Runtime > API/Runtime/HttpServer > API/Runtime/HttpServer/IHttpRouter
References
| Module | HttpServer |
| Header | /Engine/Source/Runtime/Online/HTTPServer/Public/IHttpRouter.h |
| Include | #include "IHttpRouter.h" |
FHttpRouteHandle BindRoute
&40;
const FHttpPath & HttpPath,
const EHttpServerRequestVerbs & HttpVerbs,
const FHttpRequestHandler & Handler
&41;
Remarks
Binds the caller-supplied Uri to the caller-supplied handler An FHttpRouteHandle on success, nullptr otherwise.
Parameters
| Name | Description |
|---|---|
| HttpPath | The respective http path to bind |
| HttpVerbs | The respective HTTP verbs to bind |
| Handler | The caller-defined closure to execute when the binding is invoked |