Http

interface Http

Types

Link copied to clipboard
data class Auth(val user: String, val pass: String, val digest: String)
Link copied to clipboard
object Companion
Link copied to clipboard
data class CustomMethod(val _name: String) : Http.Method
Link copied to clipboard
data class Headers(val items: List<Pair<String, String>>) : Iterable<Pair<String, String>>
Link copied to clipboard
open class HttpException(val statusCode: Int, val msg: String = "Error", val statusText: String = HttpStatusMessage.CODES[statusCode] ?: "Error$statusCode", val headers: Http.Headers = Http.Headers()) : IOException
Link copied to clipboard
interface Method
Link copied to clipboard
Link copied to clipboard
data class RedirectException(val code: Int = 307, val redirectUri: String) : Http.HttpException
Link copied to clipboard
class Request(val uri: String, val headers: Http.Headers)
Link copied to clipboard
class Response