Go to the documentation of this file.
23 #include <type_traits>
27 #include "absl/memory/memory.h"
28 #include "absl/strings/string_view.h"
29 #include "absl/types/optional.h"
39 namespace experimental {
45 context->CreateCallMetricRecorder();
49 if (trailers !=
nullptr) {
51 auto* recorder =
context->call_metric_recorder_;
52 auto serialized = recorder->CreateSerializedReport();
53 if (serialized.has_value() && !serialized->empty()) {
70 builder->internal_interceptor_creators_.push_back(
71 absl::make_unique<OrcaServerInterceptorFactory>());
@ POST_RECV_INITIAL_METADATA
The following two are for all clients and servers.
ServerContextBase * server_context()
virtual bool QueryInterceptionHookPoint(InterceptionHookPoints type)=0
constexpr absl::remove_reference_t< T > && move(T &&t) noexcept
A builder class for the creation and startup of grpc::Server instances.
virtual std::multimap< std::string, std::string > * GetSendTrailingMetadata()=0
static void Register(ServerBuilder *builder)
Interceptor * CreateServerInterceptor(ServerRpcInfo *info) override
void EnableCallMetricRecording(ServerBuilder *)
void Intercept(InterceptorBatchMethods *methods) override
grpc::ClientContext context
grpc
Author(s):
autogenerated on Fri May 16 2025 02:59:36