r::method()

Returns the current request method

  • return (string)
    POST, GET, DELETE, PUT, HEAD, PATCH, etc.