haystack 0.6.0+7 copy "haystack: ^0.6.0+7" to clipboard
haystack: ^0.6.0+7 copied to clipboard

outdated

Port of haystack java toolkit (https://bitbucket.org/brianfrank/haystack-java). Use it for work with SkySpark. For more details look readme.

example/main.dart

// Copyright (c) 2015, <your name>. All rights reserved. Use of this source code
// is governed by a BSD-style license that can be found in the LICENSE file.

library haystack.example;

import 'package:haystack/core.dart';
import 'package:haystack/hclient.dart';

final String uri = "http://localhost:8080/api/demo";
final String user = "haystack";
final String pass = "testpass";
HClient client;

void main() {
  client = new HClient(uri, user, pass);
  client.open().then((_) => client.about()).then((HDict result) {
    print(result);
  });
}
3
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Port of haystack java toolkit (https://bitbucket.org/brianfrank/haystack-java). Use it for work with SkySpark. For more details look readme.

Homepage

License

unknown (LICENSE)

Dependencies

collection, crypto, http, intl, quiver, unicode

More

Packages that depend on haystack