description

# HttpRequestEventTarget class

Inheritance
  - Object
  - EventTarget
  - HttpRequestEventTarget
Implementers
  - HttpRequest
  - HttpRequestUpload
Annotations
  - @Native.new("XMLHttpRequestEventTarget")

## Properties

hashCode → int
  The hash code for this object.
  no setter inherited
on → Events
  This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
  no setter inherited
onAbort → Stream<ProgressEvent>
  Stream of `abort` events handled by this HttpRequestEventTarget.
  no setter
onError → Stream<ProgressEvent>
  Stream of `error` events handled by this HttpRequestEventTarget.
  no setter
onLoad → Stream<ProgressEvent>
  Stream of `load` events handled by this HttpRequestEventTarget.
  no setter
onLoadEnd → Stream<ProgressEvent>
  Stream of `loadend` events handled by this HttpRequestEventTarget.
  no setter
onLoadStart → Stream<ProgressEvent>
  Stream of `loadstart` events handled by this HttpRequestEventTarget.
  no setter
onProgress → Stream<ProgressEvent>
  Stream of `progress` events handled by this HttpRequestEventTarget.
  no setter
onTimeout → Stream<ProgressEvent>
  Stream of `timeout` events handled by this HttpRequestEventTarget.
  no setter
runtimeType → Type
  A representation of the runtime type of the object.
  no setter inherited

## Methods

addEventListener(String type, EventListener? listener, [bool? useCapture]) → void
  inherited
dispatchEvent(Event event) → bool
  inherited
noSuchMethod(Invocation invocation) → dynamic
  Invoked when a nonexistent method or property is accessed.
  inherited
removeEventListener(String type, EventListener? listener, [bool? useCapture]) → void
  inherited
toString() → String
  A string representation of this object.
  inherited

## Operators

operator ==(Object other) → bool
  The equality operator.
  inherited

## Constants

abortEvent → const EventStreamProvider<ProgressEvent>
  Static factory designed to expose `abort` events to event handlers that are not necessarily instances of HttpRequestEventTarget.
errorEvent → const EventStreamProvider<ProgressEvent>
  Static factory designed to expose `error` events to event handlers that are not necessarily instances of HttpRequestEventTarget.
loadEndEvent → const EventStreamProvider<ProgressEvent>
  Static factory designed to expose `loadend` events to event handlers that are not necessarily instances of HttpRequestEventTarget.
loadEvent → const EventStreamProvider<ProgressEvent>
  Static factory designed to expose `load` events to event handlers that are not necessarily instances of HttpRequestEventTarget.
loadStartEvent → const EventStreamProvider<ProgressEvent>
  Static factory designed to expose `loadstart` events to event handlers that are not necessarily instances of HttpRequestEventTarget.
progressEvent → const EventStreamProvider<ProgressEvent>
  Static factory designed to expose `progress` events to event handlers that are not necessarily instances of HttpRequestEventTarget.
timeoutEvent → const EventStreamProvider<ProgressEvent>
  Static factory designed to expose `timeout` events to event handlers that are not necessarily instances of HttpRequestEventTarget.