Gw2ApiClient

expect constructor(httpClient: IHttpClient, builder: Gw2ApiClientBuilder)


expect constructor(httpClient: IHttpClient, host: String, authenticationStrategy: AuthenticationStrategy, cacheAccess: CacheAccess?, rateLimiter: RateLimiter?, json: Json, requestConfigurers: List<RequestConfigurer>)

Parameters

httpClient

the HTTP client implementation to use

host

the host of the API

cacheAccess

the cache implementation to use

rateLimiter

the rate-limiter to use

json

the Json instance used for deserialization

actual constructor(httpClient: IHttpClient, builder: Gw2ApiClientBuilder)
actual constructor(httpClient: IHttpClient, host: String, authenticationStrategy: AuthenticationStrategy, cacheAccess: CacheAccess?, rateLimiter: RateLimiter?, json: Json, requestConfigurers: List<RequestConfigurer>)
actual constructor(httpClient: IHttpClient, builder: Gw2ApiClientBuilder)
actual constructor(httpClient: IHttpClient, host: String, authenticationStrategy: AuthenticationStrategy, cacheAccess: CacheAccess?, rateLimiter: RateLimiter?, json: Json, requestConfigurers: List<RequestConfigurer>)