CocoaHTTPServer is a small, lightweight, embeddable HTTP server for Mac OS X or iOS applications.
Sometimes developers need an embedded HTTP server in their app. Perhaps it's a server application with remote monitoring. Or perhaps it's a desktop application using HTTP for the communication backend. Or perhaps it's an iOS app providing over-the-air access to documents. Whatever your reason, CocoaHTTPServer can get the job done. It provides:
- Built in support for bonjour broadcasting
- IPv4 and IPv6 support
- Asynchronous networking using GCD and standard sockets
- Password protection support
- SSL/TLS encryption support
- Extremely FAST and memory efficient
- Extremely scalable (built entirely upon GCD)
- Heavily commented code
- Very easily extensible
- WebDAV is supported too!
Useful References -
https://github.com/robbiehanson/CocoaHTTPServer - Official Library Source
http://www.deusty.com/2010/11/introducing-gcd-based-cocoahttpserver.html
https://groups.google.com/forum/#!forum/cocoahttpserver
http://stackoverflow.com/questions/1780368/change-download-file-name-in-cocoahttpserver
https://cocoapods.org/pods/CocoaHTTPServer
https://github.com/mattstevens/RoutingHTTPServer
https://github.com/swisspol/GCDWebServer
https://github.com/facebook/SocketRocket
Note - cocoaHttpServer can help creating any type of server on OSX or iOS. It's a copied version, link to official source - https://github.com/robbiehanson/CocoaHTTPServer