HTTPRequest class

Inheritance
Annotations
  • @JS()

Constructors

HTTPRequest(RequestHooks hooks, String method, String url)
factory

Properties

callbacks CallbackRegistry
getter/setter pairinherited
failThrough Function
getter/setter pairinherited
global_callbacks List<Function>
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hooks RequestHooks
getter/setter pair
method String
getter/setter pair
position num
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unloader Function
getter/setter pair
url String
getter/setter pair
xhr Ajax
getter/setter pair

Methods

advanceBuffer(List buffer) → dynamic
bind(String eventName, Function callback, [dynamic context]) → dynamic
inherited
bind_global(Function callback) → dynamic
inherited
close() → dynamic
emit(String eventName, [dynamic data, Metadata metadata]) Dispatcher
inherited
isBufferTooLong(dynamic buffer) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChunk(num status, dynamic data) → dynamic
start([dynamic payload]) → dynamic
toString() String
A string representation of this object.
inherited
unbind([String eventName, Function callback, dynamic context]) → dynamic
inherited
unbind_all() → dynamic
inherited
unbind_global([Function callback]) → dynamic
inherited

Operators

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