Module libp2p_request_response::codec

source ·
👎Deprecated: The codec module will be made private in the future and should not be depended on.

Traits§

  • A Codec defines the request and response types for a request-response Behaviour protocol or protocol family and how they are encoded / decoded on an I/O stream.
  • Types serving as protocol names.
  • A RequestResponseCodec defines the request and response types for a request-response Behaviour protocol or protocol family and how they are encoded / decoded on an I/O stream.