QuicOptions.Builder.AddAllowedQuicHost(String) Method
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.
Adds a host to the QUIC allowlist.
[Android.Runtime.Register("addAllowedQuicHost", "(Ljava/lang/String;)Landroid/net/http/QuicOptions$Builder;", "", ApiSince=34)]
public Android.Net.Http.QuicOptions.Builder AddAllowedQuicHost(string quicHost);
[<Android.Runtime.Register("addAllowedQuicHost", "(Ljava/lang/String;)Landroid/net/http/QuicOptions$Builder;", "", ApiSince=34)>]
member this.AddAllowedQuicHost : string -> Android.Net.Http.QuicOptions.Builder
Parameters
- quicHost
- String
Returns
the builder for chaining. This value cannot be null.
- Attributes
Remarks
Adds a host to the QUIC allowlist.
If no hosts are specified, the per-host allowlist functionality is disabled. Otherwise, the HTTP stack will only use QUIC when talking to hosts on the allowlist.
Android reference for android.net.http.QuicOptions.Builder.addAllowedQuicHost.
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.