Dil

QuicOptions.Builder.SetInMemoryServerConfigsCacheSize(Int32) Method

Definition

Sets how many server configurations (metadata like list of alt svc, whether QUIC is supported, etc.) should be held in memory.

[Android.Runtime.Register("setInMemoryServerConfigsCacheSize", "(I)Landroid/net/http/QuicOptions$Builder;", "", ApiSince=34)]
public Android.Net.Http.QuicOptions.Builder SetInMemoryServerConfigsCacheSize(int inMemoryServerConfigsCacheSize);
[<Android.Runtime.Register("setInMemoryServerConfigsCacheSize", "(I)Landroid/net/http/QuicOptions$Builder;", "", ApiSince=34)>]
member this.SetInMemoryServerConfigsCacheSize : int -> Android.Net.Http.QuicOptions.Builder

Parameters

inMemoryServerConfigsCacheSize
Int32

Returns

the builder for chaining. This value cannot be null.

Attributes

Remarks

Sets how many server configurations (metadata like list of alt svc, whether QUIC is supported, etc.) should be held in memory.

If the storage path is set (HttpEngine.Builder.setStoragePath(String)), the HTTP stack will also persist the server configurations on disk.

Android reference for android.net.http.QuicOptions.Builder.setInMemoryServerConfigsCacheSize.

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.

Applies to