Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
Metrics.hpp
Go to the documentation of this file.
1#pragma once
4
5namespace orbit::middleware {
6
11class Metrics {
12public:
26};
27
28} // namespace middleware
Middleware for tracking HTTP request metrics.
Definition Metrics.hpp:11
static routing::Middleware track()
Returns a middleware handler that tracks requests:
Definition HttpRequest.hpp:19
std::function< bool(http::HttpRequest &, std::shared_ptr< http::ResponseWriter >)> Middleware
Definition Router.hpp:19