UrlResponseInfo.NegotiatedProtocol Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the protocol (for example 'quic/1+spdy/3') negotiated with the server.
public abstract string NegotiatedProtocol { [Android.Runtime.Register("getNegotiatedProtocol", "()Ljava/lang/String;", "GetGetNegotiatedProtocolHandler", ApiSince=34)] get; }
[<get: Android.Runtime.Register("getNegotiatedProtocol", "()Ljava/lang/String;", "GetGetNegotiatedProtocolHandler", ApiSince=34)>]
member this.NegotiatedProtocol : string
Property Value
the protocol negotiated with the server. This value cannot be null.
- Attributes
Remarks
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.
Android reference for android.net.http.UrlResponseInfo.getNegotiatedProtocol.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.