HTTPSocket class

Implemented types
Annotations
  • @JS()

Constructors

HTTPSocket(SocketHooks hooks, String url)
factory

Properties

closeStream ↔ dynamic
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hooks SocketHooks
getter/setter pair
location URLLocation
getter/setter pair
onactivity Function?
getter/setter pairoverride
onActivity ↔ dynamic
getter/setter pair
onChunk ↔ dynamic
getter/setter pair
onclose ↔ dynamic Function(dynamic)?
getter/setter pairoverride
onerror ↔ dynamic Function(dynamic)?
getter/setter pairoverride
onError ↔ dynamic
getter/setter pair
onEvent ↔ dynamic
getter/setter pair
onmessage ↔ dynamic Function(dynamic)?
getter/setter pairoverride
onopen ↔ dynamic Function([dynamic evt])?
getter/setter pairoverride
onOpen ↔ dynamic
getter/setter pair
openStream ↔ dynamic
getter/setter pair
readyState State
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session String
getter/setter pair
stream HTTPRequest
getter/setter pair

Methods

close([dynamic code, dynamic reason]) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onClose(dynamic code, dynamic reason, dynamic wasClean) → void
ping() → void
override
reconnect() → void
send(dynamic payload) bool
override
sendRaw(dynamic payload) bool
override
toString() String
A string representation of this object.
inherited

Operators

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