HttpRequest

Represents an HTTP request.

An instance of this class is created internally by the SDK, and it encapsulates the details of the HTTP request.

Types

Link copied to clipboard
class Builder

The builder class for HttpRequest.

Properties

Link copied to clipboard

The body of the request, represented as an HttpRequestBody.

Link copied to clipboard

The headers associated with this request.

Link copied to clipboard

The HTTP method associated with this request.

Link copied to clipboard
val url: URI

The URL target of the request.

Functions

Link copied to clipboard

Creates a new instance of HttpRequest based on this object, using a Kotlin domain-specific language (DSL) builder.

Link copied to clipboard

Returns an HttpRequest.Builder with the same properties as this HttpRequest.