ice.py
def route(self, method, pattern):
        """Decorator to add route for a request with any HTTP method.

        Arguments:
          method (str): HTTP method name, e.g. GET, POST, etc.
          pattern (str): Routing pattern the path must match.

        Returns:
          function: Decorator function to add route.
        """
        def decorator(callback):
            self._router.add(method, pattern, callback)
            return callback
        return decorator
def route(self, method, pattern):
        def decorator(callback):
            self._router.add(method, pattern, callback)
            return callback
        return decorator
def route ( self , method , pattern ) : def decorator ( callback ) : self . _router . add ( method , pattern , callback ) return callback return decorator
Decorator to add route for a request with any HTTP method.

        Arguments:
          method (str): HTTP method name, e.g. GET, POST, etc.
          pattern (str): Routing pattern the path must match.

        Returns:
          function: Decorator function to add route.
Decorator to add route for a request with any HTTP method .