FeathersSwiftRest is a SocketIO provider for FeathersSwift.
pod `FeathersSwiftSocketIO`
Add the following line to your Cartfile:
github "feathersjs-ecosystem/feathers-swift-socketio"
To use FeathersSwiftSocket, create an instance of SocketProvider
and initialize your FeathersSwift application:
let manager = SocketManager(socketURL: URL(string: "https://myawesomefeathersapi.com")!, config: [.log(true), .compress])
let provider = SocketProvider(manager: manager, timeout: 5)
let feathersSocketApp = Feathers(provider: provider)
Configuration options can be found on SocketIO's github.
That's it! Your feathers application will now support a real-time socketio api.