aws_xray_sdk.ext.httplib.patch

Module Contents

PY2 = False
_XRAY_PROP = _xray_prop
_XRay_Data
PATCH_FLAG = __xray_patched
http_response_processor(wrapped, instance, args, kwargs, return_value, exception, subsegment, stack)
_xray_traced_http_getresponse(wrapped, instance, args, kwargs)
http_send_request_processor(wrapped, instance, args, kwargs, return_value, exception, subsegment, stack)
_send_request(wrapped, instance, args, kwargs)
http_read_processor(wrapped, instance, args, kwargs, return_value, exception, subsegment, stack)
_xray_traced_http_client_read(wrapped, instance, args, kwargs)
patch()

patch the built-in urllib/httplib/httplib.client methods for tracing.

unpatch()

Unpatch any previously patched modules. This operation is idempotent.