6#include <userver/components/loggable_component_base.hpp>
8#include <userver/ugrpc/server/server.hpp>
10USERVER_NAMESPACE_BEGIN
15struct ServiceDefaults;
41 static constexpr std::string_view kName =
"grpc-server";
43 ServerComponent(
const components::ComponentConfig& config,
46 ~ServerComponent()
override;
53 ServiceConfig ParseServiceConfig(
const components::ComponentConfig& config,
60 void OnAllComponentsLoaded()
override;
62 void OnAllComponentsAreStopping()
override;
65 std::unique_ptr<impl::ServiceDefaults> service_defaults_;
71inline constexpr bool components::kHasValidate<ugrpc::server::ServerComponent> =