Skip to content

Releases: atom2ueki/SwiftWebServer

0.1.0

21 Jun 04:07

Choose a tag to compare

SwiftWebServer 0.1.0

Features

  • 🚀 Lightweight HTTP server with custom port configuration
  • 🔧 Extensible middleware architecture for request/response processing
  • 🛣️ Route handling with path parameters (/users/{id}) and multiple HTTP methods
  • 🦾 JSON and form data body parsing
  • 📁 Static file serving with automatic MIME type detection
  • 🍪 Cookie parsing and management with secure attributes
  • 🔒 Bearer token authentication middleware with JWT support
  • 🌐 CORS middleware with configurable options
  • 📝 Configurable request/response logging
  • 🏷️ ETag support for conditional requests and caching
  • 🔄 HTTP redirects (temporary and permanent)
  • 🎯 Comprehensive error handling with proper status codes
  • 📱 SwiftUI integration examples