CocoaPods trunk is moving to be read-only. Read more on the blog, there are 19 months to go.

Spell 0.2.1

Spell 0.2.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2015
SPMSupports SPM

Maintained by Paulo Faria.



 
Depends on:
Otherside= 0.1.1
Spectrum= 0.2
 

Spell 0.2.1

  • By
  • Paulo Faria

Spell

codecov.io

Spell is an HTTP router for Swift 2.

Features

  • [x] No Foundation dependency (Linux ready)
  • [x] URI path parameters
  • [x] Route groups

Dependencies

Spell is made of:

Usage

let router = HTTPRouter { router in
    router.get("/users/:id") { request in
        let id = request.parameters["id"]
        return HTTPResponse(status: .OK)
    }
}

Installation

Command Line Application

To use Spell in a command line application:

License

Spell is released under the MIT license. See LICENSE for details.