Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
Metrics.hpp
Go to the documentation of this file.
1#pragma once
3
4namespace middleware {
5
10class Metrics {
11public:
18};
19
20} // namespace middleware
Middleware for tracking HTTP request metrics.
Definition Metrics.hpp:10
static routing::Middleware track()
Returns a middleware handler that tracks requests.
Definition Metrics.cpp:7
Definition Compress.hpp:4
std::function< bool(http::HttpRequest &, std::shared_ptr< http::ResponseWriter >)> Middleware
Definition Router.hpp:17