FeathersSwiftSocketIO
What is FeathersSwiftSocketIO?
FeathersSwiftRest is a SocketIO provider for FeathersSwift.
Installation
Cocoapods
pod `FeathersSwiftSocketIO`
Carthage
Add the following line to your Cartfile:
github "feathersjs/feathers-swift-socketio"
Usage
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.