Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/edonv/wspublisher
A native Swift WebSocket manager based in Combine.
https://github.com/edonv/wspublisher
combine ios swift websocket websockets
Last synced: 3 months ago
JSON representation
A native Swift WebSocket manager based in Combine.
- Host: GitHub
- URL: https://github.com/edonv/wspublisher
- Owner: edonv
- License: mit
- Created: 2022-09-15T21:30:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-28T14:55:43.000Z (6 months ago)
- Last Synced: 2024-10-30T17:16:23.046Z (4 months ago)
- Topics: combine, ios, swift, websocket, websockets
- Language: Swift
- Homepage: https://swiftpackageindex.com/edonv/WSPublisher/documentation
- Size: 88.9 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WSPublisher
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fedonv%2FWSPublisher%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/edonv/WSPublisher)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fedonv%2FWSPublisher%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/edonv/WSPublisher)`WSPublisher` is a client library for easy `Combine`-based communication via [WebSocket](https://en.wikipedia.org/wiki/WebSocket). It also has async/await overloads. It's written in pure Swift, has no third-party dependencies, and is built entirely on top of Swift's native [URLSessionWebSocketTask](https://developer.apple.com/documentation/foundation/urlsessionwebsockettask).
While this library can be used for any WebSocket communication, it was built as a modular piece of the puzzle that is my [OBSwiftSocket library](https://github.com/edonv/OBSwiftSocket).