Skip to content

0.1.0

Latest

Choose a tag to compare

@atom2ueki atom2ueki released this 21 Jun 04:07
· 2 commits to main since this release

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