QuicOptions.Builder.SetInMemoryServerConfigsCacheSize(Int32) 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.
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.