ApiClient

algoliasearch.ApiClient
abstract class ApiClient(appId: String, apiKey: String, clientName: String, defaultHosts: Seq[Host], 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

defaultHosts

the default hosts

formats

the JSON formats

options

the client options

Attributes

Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Concrete methods

override def close(): Unit

Attributes

Definition Classes
AutoCloseable