UNPKG

@opra/client

Version:

Opra Client package

32 lines (31 loc) 906 B
/** * Type enumeration for the different kinds of `HttpEvent`. * @enum HttpEventType */ export 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 || (HttpEventType = {}));