tribler.core.tunnel.payload =========================== .. py:module:: tribler.core.tunnel.payload Classes ------- .. autoapisummary:: tribler.core.tunnel.payload.HTTPRequestPayload tribler.core.tunnel.payload.HTTPResponsePayload Module Contents --------------- .. py:class:: HTTPRequestPayload Bases: :py:obj:`ipv8.messaging.anonymization.payload.CellablePayload` A request to an HTTP address. .. py:attribute:: msg_id :value: 28 .. py:attribute:: format_list :value: ['I', 'I', 'address', 'varlenH'] .. py:attribute:: names :value: ['circuit_id', 'identifier', 'target', 'request'] .. py:attribute:: circuit_id :type: int .. py:attribute:: identifier :type: int .. py:attribute:: target :type: tuple[str, int] .. py:attribute:: request :type: bytes .. py:class:: HTTPResponsePayload Bases: :py:obj:`ipv8.messaging.anonymization.payload.CellablePayload` A response after executing an HTTP request. .. py:attribute:: msg_id :value: 29 .. py:attribute:: format_list :value: ['I', 'I', 'H', 'H', 'varlenH'] .. py:attribute:: names :value: ['circuit_id', 'identifier', 'part', 'total', 'response'] .. py:attribute:: circuit_id :type: int .. py:attribute:: identifier :type: int .. py:attribute:: part :type: int .. py:attribute:: total :type: int .. py:attribute:: response :type: bytes