IHttpRouter

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

TSharedFromThis

IHttpRouter

References

Module

HttpServer

Header

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

Include

#include "IHttpRouter.h"

Syntax

class IHttpRouter : public TSharedFromThis< IHttpRouter >

Destructors

Name Description

Protected function Virtual

~IHttpRouter()

Destructor

Functions

Name Description

Public function

FHttpRouteHa...

 

BindRoute

(
    const FHttpPath& HttpPath,
    const EHttpServerRequestVerbs& Htt...,
    const FHttpRequestHandler& Handler
)

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

Public function

bool

 

Query

(
    const TSharedPtr< FHttpServerReques...,
    const FHttpResultCallback& OnProce...
)

Query the router with a request.

Public function

FDelegateHan...

 

RegisterRequestPreprocessor

(
    FHttpRequestHandler RequestPreproce...
)

Register a request preprocessor.

Public function

void

 

UnbindRoute

(
    const FHttpRouteHandle& RouteHandl...
)

Unbinds the caller-supplied Route

Public function

void

 

UnregisterRequestPreprocessor

(
    const FDelegateHandle& RequestPrep...
)

Unregister a request preprocessor.