CertificateResponse

@objc(THEOplayerCertificateResponse)
public class CertificateResponse : Response

The certificate response.

  • Creates a CertificateResponse.

    Declaration

    Swift

    @objc
    public init(certificateRequest: CertificateRequest, url: String, status: Int, statusText: String, headers: [String : String], body: Data)

    Parameters

    certificateRequest

    The CertificateRequest for which the response is being returned.

    url

    The URL from which the response was returned. This might have been redirected transparently.

    status

    The status code as returned in the HTTP response.

    statusText

    The status text as returned in the HTTP response.

    headers

    The HTTP headers as returned by the server.

    body

    The body of the response.