GH-35375: [C++][FlightRPC] Add arrow::flight::ServerCallContext::incoming_headers()#35376
Conversation
…t::incoming_headers()`
|
|
|
Benchmark runs are scheduled for baseline = 0ea1a10 and contender = 75439f0. 75439f0 is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
…t::incoming_headers()` (apache#35376) ### Rationale for this change It returns headers sent by a client. We can get them only in `arrow::flight::ServerMiddlewareCactory::StartCall()` for now. But they're useful for in each RPC call. ### What changes are included in this PR? Add the method. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#35375 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
…t::incoming_headers()` (apache#35376) ### Rationale for this change It returns headers sent by a client. We can get them only in `arrow::flight::ServerMiddlewareCactory::StartCall()` for now. But they're useful for in each RPC call. ### What changes are included in this PR? Add the method. ### Are these changes tested? Yes. ### Are there any user-facing changes? Yes. * Closes: apache#35375 Authored-by: Sutou Kouhei <kou@clear-code.com> Signed-off-by: Sutou Kouhei <kou@clear-code.com>
Rationale for this change
It returns headers sent by a client.
We can get them only in
arrow::flight::ServerMiddlewareCactory::StartCall()for now. But they're useful for in each RPC call.What changes are included in this PR?
Add the method.
Are these changes tested?
Yes.
Are there any user-facing changes?
Yes.
arrow::flight::ServerCallContext::incoming_headers()#35375