THEOplayer Web SDK
    Preparing search index...

    Interface ContentProtectionResponse

    The response, either of a license or for a certificate request.

    interface ContentProtectionResponse {
        body: Uint8Array;
        headers: { [headerName: string]: string };
        request: ContentProtectionRequest;
        status: number;
        statusText: string;
        url: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    The body of the response.

    headers: { [headerName: string]: string }

    The HTTP headers as returned by the server.


    - On web not all headers might be shown due to Cross Origin Resource Sharing restrictions.

    The request for which the response is being returned.

    status: number

    The status code as returned in the HTTP response.

    statusText: string

    The status text as returned in the HTTP response.

    url: string

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