Swiftpack.co - vapor/websocket-kit as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by vapor.
vapor/websocket-kit 2.4.1
WebSocket client library built on SwiftNIO
⭐️ 184
🕓 2 weeks ago
macOS linux macOS iOS
.package(url: "https://github.com/vapor/websocket-kit.git", from: "2.4.1")

NIOWebSocketClient

API Docs Team Chat MIT License Continuous Integration Swift 5.2

GitHub

link
Stars: 184
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Make sure onPing is called and account for control frames being able to be interspersed with message fragments
2 weeks ago
This patch was authored by @tkrajacic and released by @0xTim.

Control frames can appear in the middle of fragmented messages. Therefor they must not be part of the frameSequence. Also expose the frame data of the control frames, as that might be usable application data.

Before this PR, onPing was never called at all.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics