Dart API Reference
dart:io
HttpSession
HttpSession
class
Implements
Map
Constructors
HttpSession
()
Instance Properties
id
String
read-only
onTimeout
write-only
isNew
bool
read-only
isEmpty
bool
Inherited
read-only
keys
Iterable
Inherited
read-only
values
Iterable
Inherited
read-only
isNotEmpty
bool
Inherited
read-only
length
int
Inherited
read-only
Instance Methods
destroy
(
) →
void
Destroys the session. This will terminate the session and any further connections with this id will be given a new id and session.
containsValue
(
Object
value
) →
bool
Inherited
Returns true if this map contains the given value.
remove
(
Object
key
) →
dynamic
Inherited
Removes key and its associated value, if present, from the map.
clear
(
) →
void
Inherited
Removes all pairs from the map.
containsKey
(
Object
key
) →
bool
Inherited
Returns true if this map contains the given key.
addAll
(
Map
other
) →
void
Inherited
Adds all key-value pairs of other to this map.
forEach
(
void
f
(
K
key
,
V
value
)
) →
void
Inherited
Applies f to each key-value pair of the map.
putIfAbsent
(
key
,
V
ifAbsent
()
) →
dynamic
Inherited
Look up the value of key, or add a new value if it isn't there.
Operators
operator []=
(
key
,
value
) →
void
Inherited
Associates the key with the given value.
operator []
(
Object
key
) →
dynamic
Inherited
Returns the value for the given key or null if key is not in the map.