actix / actix/actix-web

multiple handler routing / "Next" responder

Abierto
#1,425 11 comentarios 0 reacciones 0 asignados Ver en GitHub
A-web C-feature
Lenguaje dominante
Rust
Estrellas
24.8k
Forks
1.9k
Merge medio
23 h 10 min
PR fusionados (30 d)
26

Descripción

It's there a way to pass a request to the next handler?
Something like
```rust
async fn handler() -> impl Responder {
if some_condition() {
Response::Ok()
} else {
Next
}
}
```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Start by reading the handler and Responder concepts shown in the issue, including how Response::Ok() is returned and how routing selects a handler. Determine whether a Next responder can be specified and what completion criteria the routing behavior would require; the issue names no files or tests to run.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
rust
Área
api, backend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.