core/com.tealium.prism.core.api.network/HttpRequest HttpRequest class HttpRequestRepresents the data for an HTTP request Members Types Builder Link copied to clipboard class BuilderBuilder helper class for constructing HttpRequests. Companion Link copied to clipboard object Companion Headers Link copied to clipboard object HeadersObject containing some constants for commonly used HTTP Headers Properties body Link copied to clipboard val body: String?The optional body of the request as a string. etag Link copied to clipboard val etag: String? headers Link copied to clipboard val headers: Map<String, String>The optional headers to be included in the request as a map of key-value pairs. isGzip Link copied to clipboard val isGzip: BooleanIndicates whether the request body should be compressed using GZIP encoding. Default is false. method Link copied to clipboard val method: HttpMethodThe HTTP method of the request. url Link copied to clipboard val url: URLThe URL to which the request will be sent. Functions equals Link copied to clipboard open operator override fun equals(other: Any?): Boolean hashCode Link copied to clipboard open override fun hashCode(): Int toString Link copied to clipboard open override fun toString(): String