ExpressRequest class

Constructors

ExpressRequest(HttpRequest req, {SessionManager? manager})

Properties

body Map
no setter
certificate X509Certificate?
no setter
connectionInfo HttpConnectionInfo?
no setter
contentLength int
no setter
cookies Map<String, Cookie>
Returns cookies set in HTTP request.
no setter
currentExceptionList List?
getter/setter pair
files Map<String, ExpressFile>
getter/setter pair
first Future<Uint8List>
no setter
hashCode int
The hash code for this object.
no setterinherited
headers HttpHeaders
no setter
isBroadcast bool
no setter
isEmpty Future<bool>
no setter
last Future<Uint8List>
no setter
length Future<int>
no setter
method String
no setter
params Map
getter/setter pair
parsedSession Session
no setter
path String
no setter
persistentConnection bool
no setter
protocolVersion String
no setter
query Map
no setter
req HttpRequest?
getter/setter pair
reqBody Map
getter/setter pair
requestedUri Uri
no setter
response ExpressResponse?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session Future<Session>
The session for the given request.
no setter
sessionManager SessionManager?
getter/setter pair
sessionNeedsUpdate bool
Does the session need update?
no setter
single Future<Uint8List>
no setter
stream StreamController?
getter/setter pair
type String
no setter
uri Uri
no setter
url Uri
no setter

Methods

any(bool element(Uint8List element)) Future<bool>
asBroadcastStream({void onCancel(StreamSubscription<Uint8List>)?, void onListen(StreamSubscription<Uint8List>)?}) Stream<Uint8List>
asyncExpand<E>(Stream<E>? element(Uint8List)) Stream<E>
asyncMap<E>(FutureOr<E> element(Uint8List)) Stream<E>
cast<R>() Stream<R>
contains(Object? needle) Future<bool>
distinct([bool element(Uint8List, Uint8List)?]) Stream<Uint8List>
drain<E>([E? futureValue]) Future<E>
elementAt(int index) Future<Uint8List>
every(bool element(Uint8List)) Future<bool>
expand<S>(Iterable<S> element(Uint8List)) Stream<S>
firstWhere(bool element(Uint8List), {Uint8List orElse()?}) Future<Uint8List>
fold<S>(dynamic S, S element(S, Uint8List)) Future<S>
forEach(void element(Uint8List)) Future
handleError(Function element, {bool test(dynamic)?}) Stream<Uint8List>
join([String separator = ""]) Future<String>
lastWhere(bool element(Uint8List), {Uint8List orElse()?}) Future<Uint8List>
listen(void element(Uint8List)?, {bool? cancelOnError, void onDone()?, Function? onError}) StreamSubscription<Uint8List>
map<S>(S element(Uint8List)) Stream<S>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pipe(StreamConsumer<Uint8List> streamConsumer) Future
reduce(Uint8List element(Uint8List, Uint8List)) Future<Uint8List>
singleWhere(bool element(Uint8List), {Uint8List orElse()?}) Future<Uint8List>
skip(int count) Stream<Uint8List>
skipWhile(bool element(Uint8List)) Stream<Uint8List>
take(int count) Stream<Uint8List>
takeWhile(bool element(Uint8List)) Stream<Uint8List>
timeout(Duration timeout, {void onTimeout(EventSink<Uint8List>)?}) Stream<Uint8List>
toList() Future<List<Uint8List>>
toSet() Future<Set<Uint8List>>
toString() String
A string representation of this object.
inherited
transform<S>(StreamTransformer<Uint8List, S> streamTransformer) Stream<S>
where(bool event(Uint8List event)) Stream<Uint8List>

Operators

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