Overview of Iris Web Framework features
mainIris provides a wide array of built-in capabilities for building modern web applications and APIs:
- Protocols & Communication: HTTP/2 (including Push), WebSockets, gRPC, and automatic HTTPS.
- Middleware: Includes
Accesslog,Basicauth,CORS,gRPC,hCaptcha,JWT,MethodOverride,ModRevision,Monitor,PPROF,Ratelimit,reCaptcha,Recovery,RequestID, andRewrite. - Routing: Unified router supporting dynamic paths with standard types (e.g.,
:uuid,:string,:int) and custom types. - Templating: Support for multiple engines including HTML, Django, Handlebars, and Pug/Jade.
- Data Handling:
- Rich Responses: HTML, Text, Markdown, XML, YAML, Binary, JSON, JSONP, Protocol Buffers, MessagePack, Content Negotiation, Streaming, and Server-Sent Events.
- Rich Requests: Access to URL Query, Headers, Form, Text, XML, YAML, Binary, JSON, Protocol Buffers, and MessagePack with built-in validation.
- Core Services: Model-View-Controller (MVC), Dependency Injection (MVC, Handlers, API Routers), Sessions, Caching, and Internationalization (i18n/sitemap).
- Performance: Response compression (gzip, deflate, brotli, snappy, s2) and high-speed execution.
- Developer Tools: Built-in support for
ngrokand a comprehensive testing toolkit.