Function axum::routing::method_routing::head
source ยท pub fn head<H, T, S, B>(handler: H) -> MethodRouter<S, B, Infallible>
Expand description
Route HEAD
requests to the given handler.
See get
for an example.
pub fn head<H, T, S, B>(handler: H) -> MethodRouter<S, B, Infallible>
Route HEAD
requests to the given handler.
See get
for an example.