FeathersSwiftRest is a SocketIO provider for FeathersSwift.
pod `FeathersSwiftSocketIO`
Add the following line to your Cartfile:
github "feathersjs/feathers-swift-socketio"
To use FeathersSwiftSocket, create an instance of SocketProvider
and initialize your FeathersSwift application:
let feathersRestApp = Feathers(provider: SocketProvider(baseURL: URL(string: "https://myawesomefeathersapi.com")!, configuration: [], timeout: 5))
Configuration options can be found on SocketIO's github.
That's it! Your feathers application will now support a real-time socketio api.
NOTE: This framework does not support watchOS due to limitations with the internal SocketIO library.