GCDWebServer is a modern and lightweight GCD based HTTP 1.1 server designed to be embedded in iOS, macOS & tvOS apps. Elegant and easy to use architecture with only 4 core classes: server, connection, request and response. Well designed API with fully documented headers for easy integration and customization. Entirely built with an event-driven design using Grand Central Dispatch for best performance and concurrency. No dependencies on third-party source code. Parser for web forms submitted using "application/x-www-form-urlencoded" or "multipart/form-data" encodings (including file uploads). Allow implementation of fully asynchronous handlers of incoming HTTP requests. Minimize memory usage with disk streaming of large HTTP request or response bodies. Automatically handle transitions between foreground, background and suspended modes in iOS apps. Full support for both IPv4 and IPv6.

Features

  • JSON parsing and serialization for request and response HTTP bodies
  • Chunked transfer encoding for request and response HTTP bodies
  • HTTP compression with gzip for request and response HTTP bodies
  • HTTP range support for requests of local files
  • Basic and Digest Access authentications for password protection
  • NAT port mapping (IPv4 only)

Project Samples

Project Activity

See All Activity >

License

BSD License

Follow GCDWebServer

GCDWebServer Web Site

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of GCDWebServer!

Additional Project Details

Operating Systems

Apple iPhone, Mac

Programming Language

Objective C

Related Categories

Objective C HTTP Servers, Objective C JSON Serialization Libraries

Registered

2021-09-20