Builder

algoliasearch.config.RequestOptions.Builder
class Builder()

Builder for RequestOptions.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Builds the RequestOptions.

Builds the RequestOptions.

Attributes

def withHeader(key: String, value: Any): Builder

Adds a header to the request.

Adds a header to the request.

Attributes

def withQueryParameter(key: String, value: Any): Builder

Adds a query parameter to the request.

Adds a query parameter to the request.

Attributes

def withReadTimeout(readTimeout: Option[Duration]): Builder

Sets the read timeout for the request.

Sets the read timeout for the request.

Attributes

def withWriteTimeout(writeTimeout: Option[Duration]): Builder

Sets the write timeout for the request.

Sets the write timeout for the request.

Attributes