{"id":15111262,"url":"https://github.com/colagom/kowet","last_synced_at":"2026-01-20T15:07:13.087Z","repository":{"id":42075882,"uuid":"471629623","full_name":"ColaGom/Kowet","owner":"ColaGom","description":"implements STOMP protocol by websocket for KMM (WIP)","archived":false,"fork":false,"pushed_at":"2022-07-29T17:24:46.000Z","size":182,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-11T14:25:15.945Z","etag":null,"topics":["kotlin","kotlin-multiplatform","stomp","websocket"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ColaGom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-19T07:57:48.000Z","updated_at":"2022-11-14T11:26:47.000Z","dependencies_parsed_at":"2022-08-12T04:10:35.739Z","dependency_job_id":null,"html_url":"https://github.com/ColaGom/Kowet","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColaGom%2FKowet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColaGom%2FKowet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColaGom%2FKowet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ColaGom%2FKowet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ColaGom","download_url":"https://codeload.github.com/ColaGom/Kowet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247370862,"owners_count":20928100,"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":["kotlin","kotlin-multiplatform","stomp","websocket"],"created_at":"2024-09-26T00:02:51.477Z","updated_at":"2026-01-20T15:07:13.077Z","avatar_url":"https://github.com/ColaGom.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kowet \n[![Maven Central](https://img.shields.io/maven-central/v/io.github.colagom/kowet.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22io.github.colagom%22%20AND%20a:%22kowet%22)\n\nKMM WebSocket support to STOMP protocol\n\n# STOMP?\n- https://stomp.github.io/stomp-specification-1.2.html\n\n# Usage\n### Android\n```kotlin\nval ws = WebSocketFactory.create(\"ws://10.0.2.2:8081/connect/websocket\")\n// create session\nval session = Stomp.over(\n    ws,\n    scope = lifecycleScope\n)\n\n// subscribe topic\nsession.subscribe(\"topic\", \"1\")\n\nsession.events.onEach {\n    //TODO: handle event\n}.launchIn(lifecycleScope)\n```\n\n### iOS\n```swift\nlet ws = WebSocketFactory_.shared.create(url: \"ws://localhost:8081/connect/websocket\")\n//create session\nlet wrapper = SocketHelperKt.stomp(webSocket: ws)\n\n//subscribe topic\nwrapper.subscribe(destination: \"topic\")\n\nwrapper.watch { event in\n    // handle event\n}\n```\n# Release\n### Groovy DSL\n```groovy\nimplementation 'io.github.colagom:kowet:{version}'\n```\n### Kotlin DSL\n```kotlin\nimplementation(\"io.github.colagom:kowet:{version}\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolagom%2Fkowet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcolagom%2Fkowet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcolagom%2Fkowet/lists"}