RestClient

constructor(json: Json = Json, baseUrl: String = "", client: HttpClient = HttpClientFactory.create(negotiation = { json(json) }), mapper: RestErrorMapper<RestClientErrorSpec, *> = RestErrorMapper.default())(source)

Parameters

json

the codec of the default client; ignored when a client is given.