Pummpcomm v2.5.1 Pummpcomm.Session.Response View Source

Response to a Pummpcomm.Session.Command.

Link to this section Summary

Types

t()
  • opcode - response opcode
  • data - data across all frames. data is in-order.
  • frames - accumulated frames, for a multi-frame response. Frames are in reverse-order.
  • last_frame? - if all frames have been received and data is complete

Functions

Adds packet to response

Link to this section Types

Link to this type t() View Source
t() :: %Pummpcomm.Session.Response{data: binary, frames: [Pummpcomm.Session.Packet.t], last_frame?: boolean | nil, opcode: byte}
  • opcode - response opcode
  • data - data across all frames. data is in-order.
  • frames - accumulated frames, for a multi-frame response. Frames are in reverse-order.
  • last_frame? - if all frames have been received and data is complete

Link to this section Functions

Adds packet to response.