| 407 | } |
| 408 | |
| 409 | std::optional<String> getClientHeader(const String & key) const |
| 410 | { |
| 411 | const auto & client_metadata = grpc_context.client_metadata(); |
| 412 | auto it = client_metadata.find(key); |
| 413 | if (it != client_metadata.end()) |
| 414 | return String{it->second.data(), it->second.size()}; |
| 415 | return std::nullopt; |
| 416 | } |
| 417 | |
| 418 | void setTransportCompression(const TransportCompression & transport_compression) |
| 419 | { |
no test coverage detected