proxy.core.event.names module#

proxy.py#

⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.

copyright
  1. 2013-present by Abhinav Singh and contributors.

license

BSD, see LICENSE for more details.

class proxy.core.event.names.EventNames(SUBSCRIBE, SUBSCRIBED, UNSUBSCRIBE, UNSUBSCRIBED, DISPATCHER_SHUTDOWN, WORK_STARTED, WORK_FINISHED, REQUEST_COMPLETE, RESPONSE_HEADERS_COMPLETE, RESPONSE_CHUNK_RECEIVED, RESPONSE_COMPLETE)#

Bases: tuple

DISPATCHER_SHUTDOWN: int#

Alias for field number 4

REQUEST_COMPLETE: int#

Alias for field number 7

RESPONSE_CHUNK_RECEIVED: int#

Alias for field number 9

RESPONSE_COMPLETE: int#

Alias for field number 10

RESPONSE_HEADERS_COMPLETE: int#

Alias for field number 8

SUBSCRIBE: int#

Alias for field number 0

SUBSCRIBED: int#

Alias for field number 1

UNSUBSCRIBE: int#

Alias for field number 2

UNSUBSCRIBED: int#

Alias for field number 3

WORK_FINISHED: int#

Alias for field number 6

WORK_STARTED: int#

Alias for field number 5

_asdict()#

Return a new dict which maps field names to their values.

_field_defaults = {}#
_fields = ('SUBSCRIBE', 'SUBSCRIBED', 'UNSUBSCRIBE', 'UNSUBSCRIBED', 'DISPATCHER_SHUTDOWN', 'WORK_STARTED', 'WORK_FINISHED', 'REQUEST_COMPLETE', 'RESPONSE_HEADERS_COMPLETE', 'RESPONSE_CHUNK_RECEIVED', 'RESPONSE_COMPLETE')#
classmethod _make(iterable)#

Make a new EventNames object from a sequence or iterable

_replace(**kwds)#

Return a new EventNames object replacing specified fields with new values