Otherside 0.1.1

Otherside 0.1.1

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Nov 2015
SPMSupports SPM

Maintained by Paulo Faria.



Otherside 0.1.1

  • By
  • Paulo Faria

Otherside

Otherside is an HTTP responder interface for Swift 2.

Features

  • [x] No Foundation dependency (Linux ready)

Usage

struct HTTPServerResponder : HTTPResponderType {
    func respond(request: HTTPRequest) -> HTTPResponse {

        // do something based on the HTTPRequest

        return HTTPResponse(status: .OK)
    }
}

Installation

Command Line Application

To use Otherside in a command line application:

License

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