kuzzle 1.0.0-alpha.3 copy "kuzzle: ^1.0.0-alpha.3" to clipboard
kuzzle: ^1.0.0-alpha.3 copied to clipboard

outdated

A library to communicate with kuzzle API

Kuzzle SDK for dart #

Build Status codecov

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
36
likes
0
pub points
66%
popularity

Publisher

verified publisherkuzzle.io

A library to communicate with kuzzle API

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

meta, pedantic, uuid

More

Packages that depend on kuzzle