djira_client 1.0.8 copy "djira_client: ^1.0.8" to clipboard
djira_client: ^1.0.8 copied to clipboard

Dart client for djira

example/djira_client_example.dart

import 'package:djira_client/djira_client.dart';

void main() async {
  final client = Request(url: "http://127.0.0.1:8000", options: {});

  /// Advice you use then, this can block ui
  /// Since this is a websocket response can take long to be received
  final response = await client.request(
    namespace: "users",
    action: "list",
    method: Method.get,
  );

  print(response.data);
}
1
likes
130
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

Dart client for djira

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

json_annotation, socket_io_client, uuid

More

Packages that depend on djira_client