Skip to content
  • Features
  • Business
  • Explore
  • Marketplace
  • Pricing
Sign in or Sign up
  • Watch 350
  • Star 6,196
  • Fork 392

squeaky-pl/japronto

Code Issues 67 Pull requests 4 Projects 0 Insights
Permalink

Join GitHub today

GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.

Sign up
Switch branches/tags
  • Branches
  • Tags
asan benchmarks better-build better-crash better-router better-tests-compile build-uplist builder-dst connection coro-in-router cpipeline custom-error-handlers done-callbacks drain emul-scatter error-handler extensible-request fake-coro generator handler-redo idle inline_parser japronto keep-alive longrun master match_dict no_bytearray osx pep8 picoev pipeline-list query_string reload reloader-uplift request-cleaning request-on-pipeline request-refactor request-route response-cache reuse-request simple-cache simple-logging simple-views sse-fallback sse-fallback2 track_connections travis-wheels workers writev
Nothing to show
v0.1.1
Nothing to show
Find file Copy path
japronto/benchmarks/japronto/micro.py
Fetching contributors…
Cannot retrieve contributors at this time
Raw Blame History
14 lines (7 sloc) 191 Bytes
from japronto import Application
def hello(request):
return request.Response(text='Hello world!')
app = Application()
r = app.router
r.add_route('/', hello, method='GET')
app.run()
  • Copy lines
  • Copy permalink
  • View git blame
  • Open new issue
  • © 2018 GitHub, Inc.
  • Terms
  • Privacy
  • Security
  • Status
  • Help
  • Contact GitHub
  • Pricing
  • API
  • Training
  • Blog
  • About
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.