I came across this article from IBM. It states that a protocol describes the format of the bytes that are transferred over the wire.
A protocol is sometimes referred to as the wire protocol, and it describes the format of the bytes that are transferred over the wire, and the combination of messages, or packets, that are exchanged for a particular operation.
Just out of curiosity, I found what seem to be describing this format for some of the protocols that I am interested in.
- For HTTP, I found RFC 7230, section 3. https://www.rfc-editor.org/rfc/rfc7230.html#page-19
- For MQTT, I found https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901019, section 2.
- For AMQP 0-9-1, I found the spec at https://www.amqp.org/specification/0-9-1/amqp-org-download, section 4.2.1. It says that the file is under the AMQP license, and I am not familiar with that license, so I will not share it here. There is nothing to stop you from downloading it yourself, it seems.
So my question is:
Am I looking at the correct information if I am trying to find out about the format of the bytes for these 3 protocols?