We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is really good for DX just use something like:
from socketify import App app = App() router = app.router() @router.get("/") def home(res, req): res.end("Hello World!") api = app.router(prefix="/api") @api.get("/") def home(res, req): res.end("Hello API!") private = app.router(prefix="/api", token_middleware) @private.get("/users") def get_users(res, req, data=None): res.end("Hello private API!") app.listen( 3000, lambda config: print("Listening on port http://localhost:%d now\n" % config.port), ) app.run()
The text was updated successfully, but these errors were encountered:
Will be released on v0.0.4
Sorry, something went wrong.
cirospaciari
No branches or pull requests
Is really good for DX just use something like:
The text was updated successfully, but these errors were encountered: