{"id":33899958,"url":"https://github.com/fpseverino/stomp-nio","last_synced_at":"2025-12-11T22:51:12.257Z","repository":{"id":323651648,"uuid":"1093605511","full_name":"fpseverino/stomp-nio","owner":"fpseverino","description":"A Swift NIO STOMP Client","archived":false,"fork":false,"pushed_at":"2025-12-02T22:17:00.000Z","size":41,"stargazers_count":2,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-02T23:23:42.447Z","etag":null,"topics":["server-side-swift","stomp","stomp-client","swift","swift-nio"],"latest_commit_sha":null,"homepage":"https://swiftpackageindex.com/fpseverino/stomp-nio/documentation","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fpseverino.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"Notice.txt","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-11-10T15:42:04.000Z","updated_at":"2025-12-02T23:05:04.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/fpseverino/stomp-nio","commit_stats":null,"previous_names":["fpseverino/stomp-nio"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fpseverino/stomp-nio","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpseverino%2Fstomp-nio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpseverino%2Fstomp-nio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpseverino%2Fstomp-nio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpseverino%2Fstomp-nio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fpseverino","download_url":"https://codeload.github.com/fpseverino/stomp-nio/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fpseverino%2Fstomp-nio/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27672062,"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","status":"online","status_checked_at":"2025-12-11T02:00:11.302Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["server-side-swift","stomp","stomp-client","swift","swift-nio"],"created_at":"2025-12-11T22:51:10.320Z","updated_at":"2025-12-11T22:51:12.248Z","avatar_url":"https://github.com/fpseverino.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# STOMP NIO\n\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Ffpseverino%2Fstomp-nio%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/fpseverino/stomp-nio)\n[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Ffpseverino%2Fstomp-nio%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/fpseverino/stomp-nio)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/fpseverino/stomp-nio/ci.yml)\n![Codecov](https://img.shields.io/codecov/c/github/fpseverino/stomp-nio)\n\nA Swift NIO based STOMP v1.0, v1.1 and v1.2 client.\n\n\u003e Heavily inspired by [Adam Fowler](https://github.com/adam-fowler)'s work on [MQTT NIO](https://github.com/swift-server-community/mqtt-nio) and [valkey-swift](https://github.com/valkey-io/valkey-swift).\n\n**Simple (or Streaming) Text Oriented Message Protocol** ([**STOMP**](https://stomp.github.io)) is a simple interoperable protocol designed for asynchronous message passing between clients via mediating servers.\nIt defines a text based wire-format for messages passed between these clients and servers.\nSTOMP has been in active use for several years and is supported by many message brokers and client libraries.\n\nSTOMPNIO is a Swift NIO based implementation of a STOMP client. It supports:\n- [x] STOMP versions 1.0, 1.1, and 1.2\n- [ ] Unencrypted and encrypted (via TLS) connections\n- [ ] WebSocket connections\n- [x] POSIX sockets\n- [x] Apple's Network framework via [NIOTransportServices](https://github.com/apple/swift-nio-transport-services) (required for iOS)\n- [x] Unix domain sockets\n\n## Overview\n\nYou can create a connection to a STOMP broker and send and receive messages from it using `STOMPConnection.withConnection`.\n\n```swift\ntry await STOMPConnection.withConnection(address: .hostname(\"localhost\"), logger: logger) { connection in\n    try await connection.send(ByteBuffer(string: \"Hello, STOMP over NIO!\"), to: \"/queue/a\")\n}\n```\n\n```swift\ntry await STOMPConnection.withConnection(address: .hostname(\"localhost\"), logger: logger) { connection in\n    try await connection.subscribe(to: \"/queue/a\") { subscription in\n        for try await frame in subscription {\n            print(String(buffer: frame.body))\n        }\n    }\n}\n```\n\n## Documentation\n\nUser guides and reference documentation for STOMP NIO can be found on the [Swift Package Index](https://swiftpackageindex.com/fpseverino/stomp-nio/documentation).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffpseverino%2Fstomp-nio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffpseverino%2Fstomp-nio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffpseverino%2Fstomp-nio/lists"}