# ExampleApp
"""
<parameters>
<company>DSSL</company>
<author>AATrubilin</author>
<title>ExampleApp</title>
<version>1.0.0</version>
</parameters>
"""
from exthttp import create_app, BaseHandler
app = create_app("ExampleApp")
app.create_module(
name="My First App",
icon_path="manual/en/gtk-dialog-important.png",
)
@app.route("index")
class IndexHandler(BaseHandler):
def get(self, request, *args, **kwargs):
return http.HttpResponse("Hello world")