RequestOptions

public final class RequestOptions


Configurable options unique to how requests to the backend are performed.

Summary

Public fields

final @NonNull Duration

the maximum amount of time for a request to take, from the first request to first response.

Public constructors

Public fields

timeout

public final @NonNull Duration timeout

the maximum amount of time for a request to take, from the first request to first response.

Public constructors

RequestOptions

public RequestOptions(@NonNull Duration timeout)

RequestOptions

public RequestOptions(Long timeout)