class ActionDispatch::Request

def request_method

Experimental RBS support (using type sampling data from the type_fusion project).

def request_method: () -> untyped

This signature was generated using 4 samples from 1 application.

value, not the original.
the application should use), this \method returns the overridden
or if a _method parameter was used to determine the \method
(for instance, if a HEAD request was converted to a GET,
In the case where the \method was overridden by a middleware
Returns the HTTP \method that the application should see.
def request_method
  @request_method ||= check_method(super)
end