LicenseResponse
@objc(THEOplayerLicenseResponse)
public class LicenseResponse : Response
The license response.
-
Creates a LicenseResponse.
Declaration
Swift
@objc public init(licenseRequest: LicenseRequest, url: String, status: Int, statusText: String, headers: [String : String], body: Data)Parameters
licenseRequestThe
LicenseRequestfor which the response is being returned.urlThe URL from which the response was returned. This might have been redirected transparently.
statusThe status code as returned in the HTTP response.
statusTextThe status text as returned in the HTTP response.
headersThe HTTP headers as returned by the server.
bodyThe body of the response.
LicenseResponse Class Reference