ESCLRequest Client
constructor(baseUrl: Url, usedHttpClient: HttpClient = HttpClient {
install(HttpTimeout) {
requestTimeoutMillis = 100_000
connectTimeoutMillis = 100_000
socketTimeoutMillis = 100_000
}
})
Parameters
base Url
The base url to make requests to. Has to be a URL which is derived with "http URL to printer" + "rs" txt record acquired from mDNS
used Http Client
eSCL is an HTTP-based protocol. This OkHttpClient will be used to execute requests