http_proto icon indicating copy to clipboard operation
http_proto copied to clipboard

serializer should provide an interface to capture and cache HTTP responses

Open ashtum opened this issue 5 months ago • 1 comments

This is useful when a server wants to cache static responses specially when they need compression.

ashtum avatar Aug 27 '25 19:08 ashtum

I dont know if serializer should provide that API but we need to determine if it is possible to write this function:

template< class Body >
std::string
serialize( serializer& sr, Body&& body );

given the current API. I think this should go into an example.

vinniefalco avatar Aug 27 '25 21:08 vinniefalco