Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BersisSe/feather
/ types & classes
Types & classes
31 in github.com/BersisSe/feather
⨍
Functions
143
◇
Types & classes
31
↓ 2 callers
Class
Response
crates/feather-runtime/src/http/response.rs:9
↓ 1 callers
Class
MyMiddleware
Middlewares can be any type that implements the `Middleware` Trait
examples/middleware/src/middleware.rs:4
Class
App
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
Class
AppContext
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
Class
AppService
crates/feather/src/internals/service.rs:15
Interface
Claim
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
Class
Config
crates/feather/src/internals/context.rs:353
Class
Cors
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
Class
Counter
examples/counter/src/main.rs:7
Class
Counter
crates/feather/src/internals/context.rs:342
Class
EchoService
crates/feather-runtime/tests/common/mod.rs:13
Interface
Finalizer
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
Enum
HeaderError
crates/feather-runtime/src/http/errors.rs:5
Class
JwtManager
crates/feather/src/jwt.rs:90
Class
Logger
crates/feather/src/middlewares/builtins.rs:33
Interface
Middleware
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
Enum
MiddlewareResult
crates/feather/src/middlewares/common.rs:35
Class
MyClaim
examples/jwt/src/main.rs:66
Class
Request
crates/feather-runtime/src/http/request.rs:14
Class
Route
crates/feather/src/internals/app.rs:19
Class
Router
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
Class
ScopedMiddleware
This is a Light Wrapper Middleware that handles the scoping logic
crates/feather/src/internals/router.rs:61
Class
ServeStatic
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
Class
Server
A HTTP server that handles incoming connections using coroutines
crates/feather-runtime/src/runtime/server.rs:40
Class
ServerConfig
crates/feather-runtime/src/runtime/server.rs:17
Interface
Service
The trait representing the user's core application logic.
crates/feather-runtime/src/runtime/service.rs:15
Enum
ServiceResult
The outcome of the application's request handling.
crates/feather-runtime/src/runtime/service.rs:6
Class
SimpleClaims
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
Class
State
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
Class
TestData
crates/feather-runtime/tests/response_tests.rs:41
Class
User
crates/feather/src/internals/context.rs:347