Skip to content

Commit

Permalink
Clarify timestamp behavior in protocol documentation
Browse files Browse the repository at this point in the history
Updated the description of the timestamp field to indicate that it reflects the time at which the message was first received by the system, and will not be updated on subsequent message updates.
  • Loading branch information
splindsay-92 committed Nov 14, 2024
1 parent a210043 commit 063d72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion textile/protocol.textile
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ The members are as follows.
Client libraries do not need to populate this field if the clientId is implicit (ie a clientId was specified when the library was initialized, and is therefore connection-wide. Also, this field will be empty if no clientId has been specified either on library initialization or when publishing the message.<br><br>
Messages sent from the service to the client will contain a clientId if one is available.

- i64 timestamp := This is the timestamp indicating the time at which the message was received by the system from the publishing client. The timestamp is included in messages sent by the service to the client. The field is expected to be empty in messages sent from a client to the service.
- i64 timestamp := This is the timestamp indicating the time at which the message was first received by the system from a publishing client. Subsequent updates to this message shall not update the timestamp. The timestamp is included in messages sent by the service to the client. The field is expected to be empty in messages sent from a client to the service.

- string or binary data := The payload of the message, binary is supported when using MessagePack.

Expand Down

0 comments on commit 063d72a

Please sign in to comment.