async def full(request, one, two): response = Response.json({ 'parameters': f'{one} and {two}', 'query': request.query.get('query'), 'cookie': request.cookies['test'], }) response.cookies.set(name='bench', value='value') return response
async def minimal(request): response = Response.json({'message': 'Hello, World!'}) return response
async def cookie(request): response = Response.json({'cookie': request.cookies['test']}) response.cookies.set(name='bench', value='value') return response
async def query(request): response = Response.json({'query': request.query.get('query')}) return response
async def parameter(request, parameter): response.json = Response.json({'parameter': parameter})