MCPcopy Create free account
hub / github.com/Tradias/asio-grpc / ExampleService

Method ExampleService

example/snippets/server_callback.cpp:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 using executor_type = asio::io_context::executor_type;
27
28 explicit ExampleService(asio::io_context& io_context) : io_context_(io_context) {}
29
30 /* [server-rpc-unary-callback] */
31 grpc::ServerUnaryReactor* Unary(grpc::CallbackServerContext* context, const example::v1::Request*,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected