TraceMiddleware class

Constructors

TraceMiddleware({int spanId = 1, bool enabled = true})

Properties

enabled bool
The header value will indicate whether to trace this request.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spanId int
Unique value within a trace. Pass a parent request's spanId to its child requests.
final

Methods

interceptStreaming<Q, R>(ClientMethod<Q, R> method, Stream<Q> requests, CallOptions options, ClientStreamingInvoker<Q, R> invoker) → ResponseStream<R>
inherited
interceptUnary<Q, R>(ClientMethod<Q, R> method, Q request, CallOptions options, ClientUnaryInvoker<Q, R> invoker) → ResponseFuture<R>
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