Skip to content

PATEL7VISHAL/learning_axum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

axum

middleware

  • To take and set cookies it need middleware
  • Mostly middleware flow is top to bottom
    • So in order to get cookies to other layer then it should be place at bottom.
  • Route::nest("PREFIX_path", "ROUTE/ROUTES")
  • Here the all routes (sended in second args) are added prefix path (path = "PREFIX_path" + "ROUTE_PATH")
  • FromRef trait

About

Rust web application framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages