Add middleware docs

Aperta
#597 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
55/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
rust
Ambito
documentation

Direzione di ricerca

Read the existing documentation that mentions middleware and inspect cot’s built-in middleware implementations to identify what the new page should cover. Document what middleware is, how the built-ins work, and, if appropriate, the request/response lifecycle and creating a custom middleware; done when the dedicated page explains these topics clearly.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The current documentation doesn't explain how middlewares work in cot(it only mentions it). It would be very helpful to have a dedicated page covering:

  • An overview of what middlewares are and how they function within cot
  • A list and explanation of the built-in middlewares provided out-of-the-box

Personal opinion:
Perhaps there could be an advanced section that talks about the middleware internals. This could cover topics such as how middlewares integrate into the request/response lifecycle and interact with the rest of the framework and maybe a walkthrough of how to create a custom one which would be valuable for downstream third-party library maintainers or anyone looking to understand the inner workings of cot more deeply.

Lingua principale
Rust
Stelle
1.1k
Fork
57
Merge medio
17h 39m
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di cot-rs/cot

Tutte le issue di cot-rs/cot

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.