MCPcopy Create free account

hub / github.com/BersisSe/feather / types & classes

Types & classes31 in github.com/BersisSe/feather

↓ 2 callersClassResponse
crates/feather-runtime/src/http/response.rs:9
↓ 1 callersClassMyMiddleware
Middlewares can be any type that implements the `Middleware` Trait
examples/middleware/src/middleware.rs:4
ClassApp
A Feather application. The main entry point for building web applications. Create an instance, add routes and middleware, then call `listen()` to sta
crates/feather/src/internals/app.rs:44
ClassAppContext
Application-wide context for state management and request handling. Every request in Feather has access to the same `AppContext`. Use it to: - Store
crates/feather/src/internals/context.rs:187
ClassAppService
crates/feather/src/internals/service.rs:15
InterfaceClaim
Trait for JWT claims validation. Implement this trait for your claims struct to add custom validation logic (e.g., checking expiration, required fiel
crates/feather/src/jwt.rs:35
ClassConfig
crates/feather/src/internals/context.rs:353
ClassCors
Adds CORS (Cross-Origin Resource Sharing) headers to responses. This middleware adds the `Access-Control-Allow-Origin` header to all responses, allow
crates/feather/src/middlewares/builtins.rs:62
ClassCounter
examples/counter/src/main.rs:7
ClassCounter
crates/feather/src/internals/context.rs:342
ClassEchoService
crates/feather-runtime/tests/common/mod.rs:13
InterfaceFinalizer
The **Finalizer API** allows you to send data and terminate the middleware chain in a single, expressive call.
crates/feather/src/internals/runtime_extensions.rs:5
EnumHeaderError
crates/feather-runtime/src/http/errors.rs:5
ClassJwtManager
crates/feather/src/jwt.rs:90
ClassLogger
crates/feather/src/middlewares/builtins.rs:33
InterfaceMiddleware
Core middleware trait for request processing. Every request handler in Feather is a middleware. Implement this trait to create custom request process
crates/feather/src/middlewares/common.rs:23
EnumMiddlewareResult
crates/feather/src/middlewares/common.rs:35
ClassMyClaim
examples/jwt/src/main.rs:66
ClassRequest
crates/feather-runtime/src/http/request.rs:14
ClassRoute
crates/feather/src/internals/app.rs:19
ClassRouter
A modular router for grouping related routes and applying scoped middleware. `Router` allows you to build sub-sections of your application (e.g., an
crates/feather/src/internals/router.rs:24
ClassScopedMiddleware
This is a Light Wrapper Middleware that handles the scoping logic
crates/feather/src/internals/router.rs:61
ClassServeStatic
Serves static files from a directory. This middleware serves static files (HTML, CSS, JavaScript, images, etc.) from a specified directory. It automa
crates/feather/src/middlewares/builtins.rs:110
ClassServer
A HTTP server that handles incoming connections using coroutines
crates/feather-runtime/src/runtime/server.rs:40
ClassServerConfig
crates/feather-runtime/src/runtime/server.rs:17
InterfaceService
The trait representing the user's core application logic.
crates/feather-runtime/src/runtime/service.rs:15
EnumServiceResult
The outcome of the application's request handling.
crates/feather-runtime/src/runtime/service.rs:6
ClassSimpleClaims
Simple JWT claims with subject and expiration. A basic claims struct for quick use without defining custom claims. It includes standard claims for su
crates/feather/src/jwt.rs:52
ClassState
A thread-safe wrapper for mutable application state. `State<T>` is used to store mutable data in the application context. It provides safe concurrent
crates/feather/src/internals/context.rs:57
ClassTestData
crates/feather-runtime/tests/response_tests.rs:41
ClassUser
crates/feather/src/internals/context.rs:347