UNPKG

@opra/client

Version:
35 lines (34 loc) 1.03 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HttpEventType = void 0; /** * Type enumeration for the different kinds of `HttpEvent`. * @enum HttpEventType */ var HttpEventType; (function (HttpEventType) { /** * The request was sent out over the wire. */ HttpEventType["Sent"] = "Sent"; /** * A download or upload progress event was received. */ HttpEventType["UploadProgress"] = "UploadProgress"; /** * The response status code and headers were received. */ HttpEventType["ResponseHeader"] = "ResponseHeader"; /** * A download or upload progress event was received. */ HttpEventType["DownloadProgress"] = "DownloadProgress"; /** * The full response including the body was received. */ HttpEventType["Response"] = "Response"; /** * A custom event from an interceptor or a backend. */ HttpEventType["User"] = "User"; })(HttpEventType || (exports.HttpEventType = HttpEventType = {}));