Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A HttpInterceptor to add Client Awareness.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class BatchingHttpInterceptor @JvmOverloads constructor(batchIntervalMillis: Long = 10, maxBatchSize: Int = 10, exposeErrorBody: Boolean = false) : HttpInterceptor
An HttpInterceptor that batches HTTP queries to execute multiple at once. This reduces the number of HTTP round trips at the price of increased latency as every request in the batch is now as slow as the slowest one. Some servers might have a per-HTTP-call cache making it faster to resolve 1 big array of n queries compared to resolving the n queries separately.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A wrapper around platform specific engines
Link copied to clipboard
class HttpInfo constructor(val startMillis: Long, val endMillis: Long, val statusCode: Int, val headers: List<HttpHeader>) : ExecutionContext.Element
Link copied to clipboard
interface HttpInterceptor
Link copied to clipboard
interface HttpInterceptorChain
Link copied to clipboard
Link copied to clipboard
class LoggingInterceptor(level: LoggingInterceptor.Level, log: (String) -> Unit = { println(it) }) : HttpInterceptor
An interceptor that logs requests and responses.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
fun DefaultHttpEngine(timeoutMillis: Long, nsUrlSessionConfiguration: NSURLSessionConfiguration): HttpEngine
Link copied to clipboard
Link copied to clipboard