These packages are available as a package collection, usable in Xcode or SwiftPM.
Unofficial Swift client for PartyKit and PartyServer: a reconnecting WebSocket with the options of PartySocket.
1 package.