class documentation

class RequestHooksMixin(object):

Known subclasses: requests.models.PreparedRequest, requests.models.Request

View In Hierarchy

Undocumented

Method deregister​_hook Deregister a previously registered hook. Returns True if the hook existed, False if not.
Method register​_hook Properly register a hook.
def deregister_hook(self, event, hook):
Deregister a previously registered hook. Returns True if the hook existed, False if not.
def register_hook(self, event, hook):
Properly register a hook.