network Restriction
open fun networkRestriction(@NonNull networkRestriction: NetworkRestriction): HttpRequest.Builder
Content copied to clipboard
Restrict the request to the specified network types. If none of the specified network types is available, the download fails with a connection error. Default is allowed to all network types