kuzzle 1.0.0-alpha.3 kuzzle: ^1.0.0-alpha.3 copied to clipboard
A library to communicate with kuzzle API
Kuzzle SDK for dart #
The kuzzle package provides SDK for kuzzle. It uses WebSocket to do the same.
Getting Started #
Include this in your pubspec.yaml
dependencies:
kuzzle:
git: git://github.com/prijindal/kuzzle_dart.git
Right now i would recommend that this be used directly from the git or a tar package. In the future versioning of pub will be used
Example #
import 'package:kuzzle/kuzzle.dart';
final kuzzle = Kuzzle(
WebSocketProtocol('127.0.0.1.xip.io'),
offlineMode: OfflineMode.auto,
);
void main () async {
// note that we don't need to await connection to be effective
kuzzle.connect();
final result = await kuzzle.server.info();
print('[result][server][info] $result');
}
view all samples in example/ folder
Information #
- Uses WebSocket to communicate with kuzzle, in the future http might also be used
- Documentation is auto generated from source, and available here
- More detailed documentation is available on kuzzle website