module ActionDispatch::Routing::Mapper::HttpHelpers
def connect(*args, &block)
see [match](rdoc-ref:Base#match)
CONNECT requests with the protocol pseudo header. For supported arguments,
specifically this recognizes HTTP/1 protocol upgrade requests and HTTP/2
Define a route that recognizes HTTP CONNECT (and GET) requests. More
def connect(*args, &block) map_method([:get, :connect], args, &block) end