Skip to main content

method_order

Function method_order 

Source
pub fn method_order(method: Method) -> u8
Expand description

Get the sort order for an HTTP method.

Used to produce consistent ordering in Allow headers: GET, HEAD, POST, PUT, DELETE, PATCH, OPTIONS, TRACE