Module pavex::blueprint::router

source ·
Expand description

Specify the routes exposed by your application.

§Guide

Check out the “Routing” section of Pavex’s guide for a thorough introduction to routing in Pavex applications.

Structs§

Constants§

  • A MethodGuard that matches incoming requests with a well-known HTTP method: CONNECT, DELETE, GET, HEAD, PATCH, POST, PUT, OPTIONS, TRACE.
  • A MethodGuard that matches all incoming requests, no matter their HTTP method, even if it’s a custom one.
  • A MethodGuard that matches incoming requests using the CONNECT HTTP method.
  • A MethodGuard that matches incoming requests using the DELETE HTTP method.
  • A MethodGuard that matches incoming requests using the GET HTTP method.
  • A MethodGuard that matches incoming requests using the HEAD HTTP method.
  • A MethodGuard that matches incoming requests using the OPTIONS HTTP method.
  • A MethodGuard that matches incoming requests using the PATCH HTTP method.
  • A MethodGuard that matches incoming requests using the POST HTTP method.
  • A MethodGuard that matches incoming requests using the PUT HTTP method.
  • A MethodGuard that matches incoming requests using the TRACE HTTP method.