Files
2016-09-15 10:13:52 -05:00

17 lines
450 B
Markdown
Executable File

INFO:
This is a bare bones example of how to embed the CocoaHTTPServer in a desktop application. The document root of the server is set to the ~/Sites folder.
INSTRUCTIONS:
Open the Xcode project, and build and go.
On the Xcode console you'll see a message saying:
"Started HTTP server on port 59123"
Now open your browser and type in the URL:
http://localhost:59123
(Replace 59123 with whatever port the server is actually running on.)
Enjoy.