Latest 3.1.2
Homepage https://github.com/feathersjs/feathers-swift-socketio
License MIT
Platforms ios 8.0, osx 10.10, tvos 9.0

Carthage compatible CocoaPods compatible GitHub release Swift 3.0.x platforms Build Status

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.

Latest podspec

{
    "name": "FeathersSwiftSocketIO",
    "version": "3.1.2",
    "summary": "SocketIO provider for FeathersSwift",
    "description": "SocketIO provider for FeathersSwift for making real-time connections to anFeathersJS backend.",
    "homepage": "https://github.com/feathersjs/feathers-swift-socketio",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": "startupthekid",
    "platforms": {
        "ios": "8.0",
        "osx": "10.10",
        "tvos": "9.0"
    },
    "source": {
        "git": "https://github.com/feathersjs/feathers-swift-socketio.git",
        "tag": "3.1.2"
    },
    "default_subspecs": "Core",
    "pod_target_xcconfig": {
        "OTHER_SWIFT_FLAGS[config=Release]": "-suppress-warnings"
    },
    "pushed_with_swift_version": "3.0",
    "subspecs": [
        {
            "name": "Core",
            "source_files": "FeathersSwiftSocketIO/Core/*.{swift}",
            "frameworks": "Foundation",
            "dependencies": {
                "Result": [],
                "Feathers": [],
                "Socket.IO-Client-Swift": []
            }
        }
    ]
}

Pin It on Pinterest

Share This