envoyproxy / envoyproxy/envoy-mobile

Cronvoy: Negotiated Protocol

Open
#1,546 13 comments 0 reactions 1 assignee Claimed by @carloseltuerto View on GitHub
cronet enhancement no stalebot
Dominant language
Java
Stars
566
Forks
85
PR merge metrics
No merged PRs in 30d

Description

As part of the Cronet API, the Cornet Engine exposes the "Negotiated Protocol".

/**
 * Returns the protocol (for example 'quic/1+spdy/3') negotiated with the server.
 * Returns an empty string if no protocol was negotiated, the protocol is
 * not known, or when using plain HTTP or HTTPS.
 */
[public String getNegotiatedProtocol()](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/components/cronet/android/api/src/org/chromium/net/UrlResponseInfo.java#92)

This somehow will need to be resurfaced by the Envoy Mobile Engine. I guess that adding a ```x-envoy-negotiated-protocol``` response header would suffice.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.