Module |
|
Header |
/Engine/Source/Runtime/Online/HTTPServer/Public/IHttpRouter.h |
Include |
#include "IHttpRouter.h" |
FHttpRouteHandle BindRoute
(
const FHttpPath & HttpPath,
const EHttpServerRequestVerbs & HttpVerbs,
const FHttpRequestHandler & Handler
)
Binds the caller-supplied Uri to the caller-supplied handler
An FHttpRouteHandle on success, nullptr otherwise.
Parameter |
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 |