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 ↔ dynamic
getter/setter pair
onactivity Function?
getter/setter pairoverride
onChunk ↔ dynamic
getter/setter pair
onclose ↔ dynamic Function(dynamic)?
getter/setter pairoverride
onError ↔ dynamic
getter/setter pair
onerror ↔ dynamic Function(dynamic)?
getter/setter pairoverride
onEvent ↔ dynamic
getter/setter pair
onmessage ↔ dynamic Function(dynamic)?
getter/setter pairoverride
onOpen ↔ dynamic
getter/setter pair
onopen ↔ dynamic Function([dynamic evt])?
getter/setter pairoverride
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