phaser - v4.0.0-rc.4
    Preparing search index...

    Type Alias XHRSettingsObject

    type XHRSettingsObject = {
        async?: boolean;
        header?: string;
        headers?: object;
        headerValue?: string;
        overrideMimeType?: string;
        password?: string;
        requestedWith?: string;
        responseType: XMLHttpRequestResponseType;
        timeout?: number;
        user?: string;
        withCredentials?: boolean;
    }
    Index

    Properties

    async?: boolean

    Should the XHR request use async or not?

    header?: string

    This value is used to populate the XHR setRequestHeader and is undefined by default.

    headers?: object

    This value is used to populate the XHR setRequestHeader and is undefined by default.

    headerValue?: string

    This value is used to populate the XHR setRequestHeader and is undefined by default.

    overrideMimeType?: string

    Provide a custom mime-type to use instead of the default.

    password?: string

    Optional password for the XHR request.

    requestedWith?: string

    This value is used to populate the XHR setRequestHeader and is undefined by default.

    responseType: XMLHttpRequestResponseType

    The response type of the XHR request, i.e. blob, text, etc.

    timeout?: number

    Optional XHR timeout value.

    user?: string

    Optional username for the XHR request.

    withCredentials?: boolean

    The withCredentials property indicates whether or not cross-site Access-Control requests should be made using credentials such as cookies, authorization headers or TLS client certificates. Setting withCredentials has no effect on same-site requests.