Request Duration
Sets request duration in context for other middleware to use down the pipeline. See logger for how it's being used.
Usage
from formation.middleware import request_duration
@client
class Google(object):
base_uri = "https://google.com"
middleware=[
request_duration()
]
...