ApiClient
algoliasearch.ApiClient
abstract class ApiClient(appId: String, apiKey: String, clientName: String, defaultHosts: Seq[Host], defaultReadTimeout: Duration, defaultConnectTimeout: Duration, defaultWriteTimeout: Duration, formats: Formats, options: ClientOptions) extends AutoCloseable
Base class for all API clients. It provides a mechanism for request serialization and deserialization. It also provides a mechanism for retrying requests on failure. It is responsible for closing the underlying HTTP client.
Value parameters
- apiKey
-
the API key
- appId
-
the application ID
- clientName
-
the name of the client
- defaultConnectTimeout
-
the default connect timeout
- defaultHosts
-
the default hosts
- defaultReadTimeout
-
the default read timeout
- defaultWriteTimeout
-
the default write timeout
- formats
-
the JSON formats
- options
-
the client options
Attributes
- Graph
-
- Supertypes
-
trait AutoCloseableclass Objecttrait Matchableclass Any
Members list
In this article