Home

Awesome

http4swift

http4swift is a tiny HTTP server library for Nest-compatible applications.

This project is unstable, and the API might be changed at anytime before we reach a stable version.

Usage

import http4swift
import Nest

let app: Application = { (request) -> ResponseType in
    // ...
}

guard let server = HTTPServer(port: 8080) else {
    fatalError()
}

server.serve(app)

Versions