{"id":19197516,"url":"https://github.com/rikulo/stomp","last_synced_at":"2025-05-09T00:52:17.138Z","repository":{"id":9931539,"uuid":"11945466","full_name":"rikulo/stomp","owner":"rikulo","description":"STOMP Dart Client  for communicating with STOMP-compliant messaging servers.","archived":false,"fork":false,"pushed_at":"2020-01-10T15:55:51.000Z","size":92,"stargazers_count":30,"open_issues_count":10,"forks_count":24,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-09T00:52:11.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://rikulo.org","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rikulo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-07T08:46:40.000Z","updated_at":"2024-01-01T15:01:17.000Z","dependencies_parsed_at":"2022-09-14T05:11:35.473Z","dependency_job_id":null,"html_url":"https://github.com/rikulo/stomp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikulo%2Fstomp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikulo%2Fstomp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikulo%2Fstomp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rikulo%2Fstomp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rikulo","download_url":"https://codeload.github.com/rikulo/stomp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253171233,"owners_count":21865289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T12:17:07.709Z","updated_at":"2025-05-09T00:52:17.117Z","avatar_url":"https://github.com/rikulo.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STOMP Dart Client\n\n[STOMP](http://stomp.github.io/) Dart client for communicating with STOMP complaint messaging brokers and servers.\n\n* [Home](http://rikulo.org)\n* [API Reference](http://www.dartdocs.org/documentation/stomp/0.8.0)\n* [Discussion](http://stackoverflow.com/questions/tagged/rikulo)\n* [Git Repository](https://github.com/rikulo/stomp)\n* [Issues](https://github.com/rikulo/stomp/issues)\n\nStomp Dart Client is distributed under an Apache 2.0 License.\n\n[![Build Status](https://drone.io/github.com/rikulo/stomp/status.png)](https://drone.io/github.com/rikulo/stomp/latest)\n\n\u003e See also [Ripple - Lightweight Dart Messaging Server](https://github.com/rikulo/ripple).\n\n## Installation\n\nAdd this to your `pubspec.yaml` (or create it):\n\n    dependencies:\n      stomp:\n\nThen run the [Pub Package Manager](http://pub.dartlang.org/doc) (comes with the Dart SDK):\n\n    pub install\n\n## Usage\n\n### Running on Dart VM\n\n    import \"package:stomp/stomp.dart\";\n    import \"package:stomp/vm.dart\" show connect;\n\n    void main() {\n      connect(\"foo.server.com\").then((StompClient client) {\n        client.subscribeString(\"/foo\",\n          (Map\u003cString, String\u003e headers, String message) {\n            print(\"Recieve $message\");\n          });\n\n        client.sendString(\"/foo\", \"Hi, Stomp\");\n      });\n    }\n\nThere are basically a few alternative ways to communicate:\n\n* JSON objects: `sendJson()` and `subscribeJson()`\n* Strings: `sendString()` and `subscribeString()`\n* Bytes: `sendBytes()` and `subscribeBytes()`\n* BLOB (huge data): `sendBlob()` and `subscribeBlob()`\n\n\u003e Please refer to [StompClient](http://api.rikulo.org/stomp/latest/stomp/StompClient.html) for more information.\n\n### Running on Browser\n\nThe same as the above, except import `websocket.dart` instead of `vm.dart`:\n\n    import \"package:stomp/stomp.dart\";\n    import \"package:stomp/websocket.dart\" show connect;\n\n    //the rest is the same as running on Dart VM\n\n## Limitations\n\n* Support STOMP 1.2 or above\n* Support UTF-8 encoding\n\n## Incompleteness\n\n* Heart beat not supported.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frikulo%2Fstomp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frikulo%2Fstomp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frikulo%2Fstomp/lists"}