IHttpRouter::BindRoute

Binds the caller-supplied Uri to the caller-supplied handler

Windows
MacOS
Linux

References

Module

HttpServer

Header

/Engine/Source/Runtime/Online/HTTPServer/Public/IHttpRouter.h

Include

#include "IHttpRouter.h"

Syntax

FHttpRouteHandle BindRoute
(
    const FHttpPath & HttpPath,
    const EHttpServerRequestVerbs & HttpVerbs,
    const FHttpRequestHandler & Handler
)

Remarks

Binds the caller-supplied Uri to the caller-supplied handler

Returns

An FHttpRouteHandle on success, nullptr otherwise.

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss