# Feature catalog — actix/actix-web

> Canonical page: https://codevetter.com/unpack/actix-web/feature-catalog

# Feature catalog — actix/actix-web

Scanned commit 30c831fce5328ccf916bea77e59ce6419b457e39 (2026-10-02). Generated by codevetter codevetter 1.15.0 on 2026-10-02.

Source inspection; upstream code and tests were not executed.

The user-facing surface is primarily Rust APIs for service authors. Routing supports manual resources, nested scopes, guards, and procedural attributes. Typed extraction, middleware, file responses, uploads, client requests, and WebSockets cover distinct HTTP application needs. Optional features control protocol, TLS, compression, cookies, and experimental route diagnostics.
- App::route and App::service register resources and scopes; routing macros cover nine standard methods, and generated registrations attach names, method guards, custom guards, wrappers, and handlers. — [actix-web/src/app.rs#L227-L249](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/src/app.rs#L227-L249) [actix-web-codegen/src/lib.rs#L189-L205](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web-codegen/src/lib.rs#L189-L205) [actix-web-codegen/src/route.rs#L435-L464](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web-codegen/src/route.rs#L435-L464)
- Built-in extractors expose Form, Header, Json, Path, Payload, Query, Either, and Readlines; handlers accept up to twelve FromRequest arguments and return Responder outputs. — [actix-web/src/types/mod.rs#L13-L23](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/src/types/mod.rs#L13-L23) [actix-web/src/handler.rs#L14-L22](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/src/handler.rs#L14-L22)
- Middleware supports request preprocessing, response postprocessing, state access, external-service access, and short-circuiting; the basic example combines DefaultHeaders, Compress, and Logger at application and resource levels. — [actix-web/src/middleware/authors-guide.md#L5-L27](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/src/middleware/authors-guide.md#L5-L27) [actix-web/examples/basic.rs#L25-L36](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/examples/basic.rs#L25-L36)
- Cargo features expose HTTP/2 including h2c, WebSockets, OpenSSL, four Rustls versions, Brotli/gzip/deflate/zstd compression, cookies, and separately enabled secure cookies. — [actix-web/Cargo.toml#L60-L107](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/Cargo.toml#L60-L107)
- Files accepts GET/HEAD by default and supports ordered roots, optional precompressed assets, directory redirects/listings, and fallback handling; NamedFile adds ETag, Last-Modified, conditional responses, and byte ranges. — [actix-files/src/service.rs#L138-L205](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-files/src/service.rs#L138-L205) [actix-files/src/service.rs#L255-L291](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-files/src/service.rs#L255-L291) [actix-files/src/named.rs#L466-L511](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-files/src/named.rs#L466-L511) [actix-files/src/named.rs#L535-L585](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-files/src/named.rs#L535-L585)
- MultipartForm collects typed form-data fields with total, memory, and field limits; the /videos example combines a TempFile upload and JSON metadata, with global and per-field limits configured separately. — [actix-multipart/src/form/mod.rs#L458-L505](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-multipart/src/form/mod.rs#L458-L505) [actix-multipart/src/form/mod.rs#L562-L565](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-multipart/src/form/mod.rs#L562-L565) [actix-multipart/examples/form.rs#L12-L39](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-multipart/examples/form.rs#L12-L39)
- awc provides body, JSON, form, and streaming request APIs, authentication header helpers, response-decompression control, timeouts, and configurable redirects; actix-http exposes WebSocket handshake verification and a 101 response builder. — [awc/src/request.rs#L235-L282](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/awc/src/request.rs#L235-L282) [awc/src/request.rs#L322-L395](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/awc/src/request.rs#L322-L395) [awc/src/builder.rs#L128-L140](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/awc/src/builder.rs#L128-L140) [actix-http/src/ws/mod.rs#L164-L233](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-http/src/ws/mod.rs#L164-L233)
- experimental-introspection inserts an IntrospectionTree into application data and offers text, route JSON, and external-resource JSON reports; finalization also applies route reachability analysis. — [actix-web/Cargo.toml#L126-L127](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/Cargo.toml#L126-L127) [actix-web/src/app_service.rs#L148-L151](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/src/app_service.rs#L148-L151) [actix-web/src/introspection.rs#L462-L476](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/src/introspection.rs#L462-L476) [actix-web/src/introspection.rs#L479-L523](https://github.com/actix/actix-web/blob/30c831fce5328ccf916bea77e59ce6419b457e39/actix-web/src/introspection.rs#L479-L523)

Every claim links to its cited files at the pinned commit. Citations identify source evidence; they do not establish runtime correctness. Independent CodeVetter scan — not reviewed by upstream maintainers.

## Public product links

- [CodeVetter](https://codevetter.com/)
- [Download](https://codevetter.com/download)
- [Documentation](https://codevetter.com/docs/)
- [Source](https://github.com/Codevetter/codevetter)
