HttpRequest

HTTP request configuration parameters that define how MediaTailor communicates with the ad decision server.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val body: String?

The request body content to send with HTTP requests to the ad decision server. This value is only eligible for POST requests.

Link copied to clipboard

The compression method to apply to requests sent to the ad decision server. Supported values are NONE and GZIP. This value is only eligible for POST requests.

Link copied to clipboard

Custom HTTP headers to include in requests to the ad decision server. Specify headers as key-value pairs. This value is only eligible for POST requests.

Link copied to clipboard

The HTTP method to use when making requests to the ad decision server. Supported values are GET and POST.

Functions

Link copied to clipboard
inline fun copy(block: HttpRequest.Builder.() -> Unit = {}): HttpRequest
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String