Actioncable.SocketHandler.search_subprotocol

You're seeing just the function search_subprotocol, go back to Actioncable.SocketHandler module for more information.
Link to this function

search_subprotocol(list, req, opts)