method

connect

rails latest stable - Class: ActionDispatch::Routing::Mapper::Mapping::HttpHelpers

Method not available on this version

This method is only available on newer versions. The first available version (v8.0.0) is shown here.

connect(*args, &block)
public

Define a route that recognizes HTTP CONNECT (and GET) requests. More specifically this recognizes HTTP/1 protocol upgrade requests and HTTP/2 CONNECT requests with the protocol pseudo header. For supported arguments, see [match](rdoc-ref:Base#match)

connect 'live', to: 'live#index'