Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
/ cocoahttpserver Public archive

Fork of deusty's cocoahttpserver, with hooks to turn POST into Cocoa calls

Notifications You must be signed in to change notification settings

undees/cocoahttpserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to CocoaHTTPServer!

This project provides you (the developer) with an embedded HTTP server.  It  was built using standard networking sockets and streams, and offers a wealth of features for your app:

- Built in support for bonjour broadcasting
- IPv4 and IPv6 support automatically
- Asynchronous networking
- Multithreading support
- Password protection using either digest access or basic authentication
- TLS/SSL encryption support
- Range request support for partial downloads and pause/resume
- Support for LARGE files (up to 16 exabytes)
- Heavily commented code

As is the nature of embedded servers, you probably want to do something cool with it.  Perhaps you simply want to serve up files, but maybe you want to provide dynamic content or allow user uploads.  No problem - you can use this code to do all/any of these tasks.

The suggested way to implement your custom server is by extending the HTTPServer and/or HTTPConnection classes.  You'll find several methods in these classes with documentation that says "override me to add support for..."  For example, if you wanted to add password protection to various resources, simply override the "isPasswordProtected" and "passwordForUser" methods.

If you have questions, you may email the mailing list:
http://groups.google.com/group/cocoahttpserver

PLEASE NOTE:

All downloads are simple examples of how to accomplish some task using CocoaHTTPServer. These downloads are not kept up to date.

USE SUBVERSION TO GET THE LATEST VERSION OF THE CODE !

If you've implemented your custom server by extending the HTTPServer and HTTPConnection classes, it should be relatively easy to merge the latest improvements from subversion into your project.

If you would like to receive email notifications when changes are committed, you may subscribe to the commit mailing list:
http://groups.google.com/group/cocoahttpserver-commit

About

Fork of deusty's cocoahttpserver, with hooks to turn POST into Cocoa calls

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published