Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::esi::DispatchFragmentRequestFn Class Reference

A callback type used to dispatch requests for ESI fragments. More...

#include <esi.h>

Inheritance diagram for fastly::esi::DispatchFragmentRequestFn:
fastly::detail::rust_bridge_tags::esi::DispatchFragmentRequestFnTag

Public Types

using function_type
 The type of the dispatch function.

Public Member Functions

template<std::convertible_to< function_type > F>
 DispatchFragmentRequestFn (F &&fn)

Additional Inherited Members

Protected Member Functions inherited from fastly::detail::rust_bridge_tags::esi::DispatchFragmentRequestFnTag
 DispatchFragmentRequestFnTag ()=default

Detailed Description

A callback type used to dispatch requests for ESI fragments.

Member Typedef Documentation

◆ function_type

Initial value:
std::function<std::optional<PendingFragmentContent>(Request)>
Definition request.h:149

The type of the dispatch function.

Constructor & Destructor Documentation

◆ DispatchFragmentRequestFn()

template<std::convertible_to< function_type > F>
fastly::esi::DispatchFragmentRequestFn::DispatchFragmentRequestFn ( F && fn)
inline

The documentation for this class was generated from the following file: