All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.RequestErrorEvent.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:JsModule("cesium")

@file:Suppress(
    "EXTERNAL_CLASS_CONSTRUCTOR_PROPERTY_PARAMETER",
)

package cesium

/**
 * An event that is raised when a request encounters an error.
 * @see Online Documentation
 *
 * @constructor
 * @property [statusCode] The HTTP error status code, such as 404.
 * @property [response] The response included along with the error.
 * @param [responseHeaders] The response headers, represented either as an object literal or as a
 *   string in the format returned by XMLHttpRequest's getAllResponseHeaders() function.
 * @see Online Documentation
 */
external class RequestErrorEvent(
    var statusCode: Int = definedExternally,
    var response: Any = definedExternally,
    responseHeaders: dynamic = definedExternally,
) {
    /**
     * The headers included in the response, represented as an object literal of key/value pairs.
     * If the error does not include any headers, this property will be undefined.
     * @see Online Documentation
     */
    var responseHeaders: Any
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy