Use it like a regular grpc client
import 'package:grpc/grpc.dart';
Future<void> main() async {
final channel = ClientChannel(
'localhost',
port: 6334,
options: const ChannelOptions(credentials: ChannelCredentials.insecure()),
);
final collectionsClient = CollectionsInternalClient(channel);
final listRequest = ListCollectionsRequest();
final listResponse = await collectionsClient.list(listRequest);
for (var c in listResponse.collections) {
print('Collection: ${c.name}');
}
await channel.shutdown();
}
Libraries
- exports
- google/api/label.pb
- google/api/label.pbenum
- google/api/label.pbjson
- google/api/launch_stage.pb
- google/api/launch_stage.pbenum
- google/api/launch_stage.pbjson
- google/api/monitored_resource.pb
- google/api/monitored_resource.pbenum
- google/api/monitored_resource.pbjson
- google/logging/type/http_request.pb
- google/logging/type/http_request.pbenum
- google/logging/type/http_request.pbjson
- google/logging/type/log_severity.pb
- google/logging/type/log_severity.pbenum
- google/logging/type/log_severity.pbjson
- google/logging/v2/log_entry.pb
- google/logging/v2/log_entry.pbenum
- google/logging/v2/log_entry.pbjson
- google/logging/v2/logging.pb
- google/logging/v2/logging.pbenum
- google/logging/v2/logging.pbgrpc
- google/logging/v2/logging.pbjson
- google/protobuf/any.pb
- google/protobuf/any.pbenum
- google/protobuf/any.pbjson
- google/protobuf/duration.pb
- google/protobuf/duration.pbenum
- google/protobuf/duration.pbjson
- google/protobuf/empty.pb
- google/protobuf/empty.pbenum
- google/protobuf/empty.pbjson
- google/protobuf/struct.pb
- google/protobuf/struct.pbenum
- google/protobuf/struct.pbjson
- google/protobuf/timestamp.pb
- google/protobuf/timestamp.pbenum
- google/protobuf/timestamp.pbjson
- google/rpc/status.pb
- google/rpc/status.pbenum
- google/rpc/status.pbjson
- protobuf/collections.pb
- protobuf/collections.pbenum
- protobuf/collections.pbjson
- protobuf/collections_internal_service.pb
- protobuf/collections_internal_service.pbenum
- protobuf/collections_internal_service.pbgrpc
- protobuf/collections_internal_service.pbjson
- protobuf/collections_service.pb
- protobuf/collections_service.pbenum
- protobuf/collections_service.pbgrpc
- protobuf/collections_service.pbjson
- protobuf/health_check.pb
- protobuf/health_check.pbenum
- protobuf/health_check.pbgrpc
- protobuf/health_check.pbjson
- protobuf/json_with_int.pb
- protobuf/json_with_int.pbenum
- protobuf/json_with_int.pbjson
- protobuf/points.pb
- protobuf/points.pbenum
- protobuf/points.pbjson
- protobuf/points_internal_service.pb
- protobuf/points_internal_service.pbenum
- protobuf/points_internal_service.pbgrpc
- protobuf/points_internal_service.pbjson
- protobuf/points_service.pb
- protobuf/points_service.pbenum
- protobuf/points_service.pbgrpc
- protobuf/points_service.pbjson
- protobuf/qdrant.pb
- protobuf/qdrant.pbenum
- protobuf/qdrant.pbgrpc
- protobuf/qdrant.pbjson
- protobuf/qdrant_internal_service.pb
- protobuf/qdrant_internal_service.pbenum
- protobuf/qdrant_internal_service.pbgrpc
- protobuf/qdrant_internal_service.pbjson
- protobuf/raft_service.pb
- protobuf/raft_service.pbenum
- protobuf/raft_service.pbgrpc
- protobuf/raft_service.pbjson
- protobuf/snapshots_service.pb
- protobuf/snapshots_service.pbenum
- protobuf/snapshots_service.pbgrpc
- protobuf/snapshots_service.pbjson
- qdrant
- Support for doing something awesome.