HttpRequestCopy PageHttpRequest open class HttpRequest Represents an HTTP request. Inheritors DrmRequest Constructors HttpRequestconstructor(url: String)constructor(url: String, @Nullableheaders: Map<String, String>, @Nullablebody: Array<Byte>, httpMethod: String) Properties NameSummarybody@get:Nullableopen var body: Array<Byte>headers@get:Nullableopen var headers: Map<String, String>urlopen var url: String Functions NameSummarygetMethodopen fun getMethod(): StringReturns the HTTP method of the request.setMethodopen fun setMethod(httpMethod: String)Set the HTTP method of the request.Updated 7 days ago