Title: Expose stream info for outgoing HTTP calls from dynamic modules
Description:
I would like to be able to know the negotiated HTTP protocol (HTTP/1, HTTP/2 etc) for an outgoing HTTP call which can be with a cluster using ALPN. This is on StreamInfo for a call made with AsyncClient but is currently not exposed to dynamic modules. It may be tricky since StreamInfo is huge but it would be nice if at least some of the info there could be accessed, something like the Rust envoy_filter.get_stream_info_protocol() or similar.
[optional Relevant Links:]
Any extra documentation required to understand the issue.
Title: Expose stream info for outgoing HTTP calls from dynamic modules
Description:
I would like to be able to know the negotiated HTTP protocol (HTTP/1, HTTP/2 etc) for an outgoing HTTP call which can be with a cluster using ALPN. This is on
StreamInfofor a call made withAsyncClientbut is currently not exposed to dynamic modules. It may be tricky sinceStreamInfois huge but it would be nice if at least some of the info there could be accessed, something like the Rustenvoy_filter.get_stream_info_protocol()or similar.[optional Relevant Links:]