userver: grpc-generic-proxy/src/proxy_service.hpp
Loading...
Searching...
No Matches
grpc-generic-proxy/src/proxy_service.hpp
#pragma once
// For testing purposes only, in your services write out userver:: namespace
// instead.
namespace samples {
class ProxyService final : public ugrpc::server::GenericServiceBase::Component {
public:
static constexpr std::string_view kName = "proxy-service";
ProxyService(const components::ComponentConfig& config, const components::ComponentContext& context);
GenericResult Handle(GenericCallContext& context, GenericReaderWriter& stream) override;
private:
};
} // namespace samples