Orbit Framework
An ultra-modern, asynchronous, cross-platform C++ Web Framework.
Loading...
Searching...
No Matches
Compress.hpp
Go to the documentation of this file.
1#pragma once
3
4namespace middleware {
5
20
21} // namespace middleware
routing::Middleware compress()
Returns a middleware that automatically compresses the HTTP response body using GZIP.
Definition Compress.cpp:8
Definition Compress.hpp:4
std::function< bool(http::HttpRequest &, std::shared_ptr< http::ResponseWriter >)> Middleware
Definition Router.hpp:17