def route(self, uri, methods=frozenset({'<STR_LIT:GET>'}), host=None,<EOL>strict_slashes=False, stream=False):
def decorator(handler):<EOL><INDENT>route = FutureRoute(<EOL>handler, uri, methods, host, strict_slashes, stream)<EOL>self.routes.append(route)<EOL>return handler<EOL><DEDENT>return decorator<EOL>
Create a blueprint route from a decorated function.

        :param uri: endpoint at which the route will be accessible.
        :param methods: list of acceptable HTTP methods.