EventStoreClientBase class abstract
- Implementers
Constructors
-
EventStoreClientBase({required CallOptions? options, required EventStoreClientSettings settings, required bool isGrpcWeb, List<
ClientInterceptor> interceptors = const [], Map<String, GrpcErrorCallback> exceptionMap = const {}})
Properties
- api → Versions
-
Get api versions. If verify is not invoked,
Versions.server is null.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGrpcWeb → bool
-
True if this client is using grpc-web protocol
final
- leader → EndPoint
-
Get EndPoint for last known leader node.
If connecting to a single node, this returns
EventStoreClientSettings.singleNode.
no setter
- options → CallOptions?
-
GRPC
CallOptions
instancefinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → EventStoreClientSettings
-
Connection name supplied as metadata to server
final
- supportsClientStreamingRpc → bool
-
Check if grpc protocol supports client streaming
See https://github.com/grpc/grpc-web/blob/master/doc/interop-test-descriptions.md
no setter
Methods
-
$createChannel(
EndPoint endPoint) → GrpcOrGrpcWebClientChannel -
$createChannelCredentials(
EndPoint endPoint) → ChannelCredentials -
discover(
) → Future< EndPoint> -
Discover node
EndPoint
given current EventStoreClientSettings.nodePreference. -
isFeatureSupported(
ApiFeature feature) → bool -
Check if given
feature
is supported by api. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shutdown(
) → Future< void> - Shutdown all channels
-
toString(
) → String -
A string representation of this object.
inherited
-
verify(
) → Future< void> - Verify that EventStoreClientSettings.apiVersion is compatible with server version. Throws a UnsupportedApiVersionException if MemberInfo.apiVersion is incompatible with requested EventStoreClientSettings.apiVersion.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited