MCPcopy Create free account
hub / github.com/alibaba/yalantinglibs / before

Method before

src/coro_http/examples/example.cpp:260–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

258
259struct get_data {
260 bool before(coro_http_request &req, coro_http_response &res) {
261 req.set_aspect_data("hello world");
262 return true;
263 }
264};
265
266async_simple::coro::Lazy<void> use_aspects() {

Callers

nothing calls this directly

Calls 1

set_aspect_dataMethod · 0.80

Tested by

no test coverage detected