Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 472 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 472 Bytes

Swift HTTP1.1 Server

This is a simple HTTP server written in Swift 2.1 (https://swift.org/)

Sample Use

Build by running swift build then run the generated executable with an optional port and root directory. These default to port 3000 and /var/www.

Compatability

Though this is set up to have Linux compatability, I have only tested it on Mac OSX 10.11.

Credit

These is a swift adaptation of a C program found at http://tinyhttpd.sourceforge.net/