LogRequestsInterceptor class
Middleware which prints the time of the request, the elapsed time for the inner handlers, the response's status code and the request URI.
- Implemented types
Constructors
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
Object error, StackTrace stackTrace) → void -
This method is called when an error occurs when executing the request.
override
-
onRequest(
DartnessRequest request) → void -
This method is called before the request is executed.
override
-
onResponse(
DartnessResponse response) → void -
This method is called after the request is executed.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited