code: def match_request(self) -> None:
          
          try:
              self.request_websocket.url_rule, self.request_websocket.view_args = self.url_adapter.match()  # noqa
          except (NotFound, MethodNotAllowed, RedirectRequired) as error:
              self.request_websocket.routing_exception = error
docs: Match the request against the adapter.
  
          Override this method to configure request matching, it should
          set the request url_rule and view_args and optionally a
          routing_exception.