LoggingHandler class

A wrapper over HttpHandler which allows logging

Implemented types

Constructors

LoggingHandler(HttpHandler handler, {dynamic onRequest(HttpRequest request)?, dynamic onResponse(HttpResponse response)?})

Properties

handler HttpHandler
final
hashCode int
The hash code for this object.
no setterinherited
onRequest → dynamic Function(HttpRequest request)?
final
onResponse → dynamic Function(HttpResponse response)?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

handle(HttpRequest request) Future<HttpResponse>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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