Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/t/o/tornado_tracing-HEAD/tornado_tracing/recording.py   tornado_tracing(Download)
    def fetch(self, request, *args, **kwargs):
        method, url = _request_info(request)
        recording.pre_call_hook('HTTP', method, url, None)
        response = super(HTTPClient, self).fetch(request, *args, **kwargs)
        recording.post_call_hook('HTTP', method, url, None)
    def fetch(self, request, callback, *args, **kwargs):
        method, url = _request_info(request)
        recording.pre_call_hook('HTTP', method, url, None)
        def wrapper(request, callback, response, *args):
            recording.post_call_hook('HTTP', method, url, None)