Skip to main content

method

Function method 

Source
pub fn method() -> String
Expand description

HTTP method of the inbound request, e.g. "GET" or "POST".

Returns an empty string only if the host invoked the flare without an active request context, which should never happen in production.