DeekWebClient class
An app-scoped client. Injected transports remain owned by the caller.
Constructors
-
DeekWebClient({DeekWebLogger? logger, Client? client, bool includeCvHeader = false, String cvHeader = 'cv-in', List<
DeekWebInterceptor> interceptors = const []})
Properties
- cvHeader ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeCvHeader ↔ bool
-
getter/setter pair
-
interceptors
→ List<
DeekWebInterceptor> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addListener(
DeekWebListener listener) → void -
close(
) → void - Settles logical work and callbacks synchronously. Does not undo server work.
-
executeRequest<
RequestType extends DeekWebRequest, ResponseType> (DeekWebRequest< ResponseType> request) → Future<DeekWebResponse< RequestType, ResponseType> > -
executeRequestWithOptions<
RequestType extends DeekWebRequest, ResponseType> (DeekWebRequest< ResponseType> request, {required DeekWebExecutionOptions options}) → Future<DeekWebResponse< RequestType, ResponseType> > - Does not route through legacy executeRequest overrides.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeListener(
DeekWebListener listener) → bool -
send<
T> (DeekWebRequest< T> request) → Future<T?> -
sendWithOptions<
T> (DeekWebRequest< T> request, {required DeekWebExecutionOptions options}) → Future<T?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited