Factory

open fun Factory()

Constructor for a new Factory that runs requests using a static singleton client.


open fun Factory(client: Factory)

Constructor for a new Factory that runs requests using given client.

Parameters

client

this is typically an instance of OkHttpClient.