Request

open class Request

Represent an HTTP request. Instances of this class are immutable, use newBuilder to clone the the existing request for customization.

Constructors

Link copied to clipboard
constructor(@NonNull request: Request)

Types

Link copied to clipboard
open class Builder

Properties

Link copied to clipboard
private open var internalReq: Request

Functions

Link copied to clipboard
open fun body(): Body
Link copied to clipboard
open fun header(name: String): String
Link copied to clipboard
open fun headers(name: String): List<String>
Link copied to clipboard
open fun method(): String
Link copied to clipboard
Link copied to clipboard
open fun tag(): Any
Link copied to clipboard
open fun url(): URL