Skip to content

Commit 0b62829

Browse files
authored
Merge pull request #298 from ably/objects-message
Add Objects flags, channel modes and message types
2 parents 1ff9d4a + f458064 commit 0b62829

File tree

4 files changed

+245
-17
lines changed

4 files changed

+245
-17
lines changed

meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
versions:
22
# Must conform to Semantic Versioning (https://semver.org/).
33
# Should never need to use a pre-release suffix.
4-
specification: 3.0.1
4+
specification: 3.1.0
55

66
# Must be an Integer value.
77
# Previously, prior to version 2 (i.e. versions 0.8, 1.0, 1.1 and 1.2) it was a Decimal value.

textile/api-docstrings.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,8 @@ Describes the possible flags used to configure client capabilities, using [`Chan
418418
| PUBLISH || The client can publish messages. |
419419
| SUBSCRIBE || The client can subscribe to messages. |
420420
| PRESENCE_SUBSCRIBE || The client can receive presence messages. |
421+
| OBJECT_PUBLISH || The client can publish object messages. |
422+
| OBJECT_SUBSCRIBE || The client can receive object messages. |
421423

422424
## class ChannelStateChange
423425

@@ -492,6 +494,8 @@ Contains the metrics associated with a [`RestChannel`]{@link RestChannel} or [`R
492494
| presenceSubscribers: Int ||| CHM2d | The number of realtime attachments receiving presence messages on the channel. This requires the `subscribe` capability and for a client to not have specified a [`ChannelMode`]{@link ChannelMode} flag that excludes [`PRESENCE_SUBSCRIBE`]{@link ChannelMode#PRESENCE_SUBSCRIBE}. |
493495
| publishers: Int ||| CHM2e | The number of realtime attachments permitted to publish messages to the channel. This requires the `publish` capability and for a client to not have specified a [`ChannelMode`]{@link ChannelMode} flag that excludes [`PUBLISH`]{@link ChannelMode#PUBLISH}. |
494496
| subscribers: Int ||| CHM2f | The number of realtime attachments receiving messages on the channel. This requires the `subscribe` capability and for a client to not have specified a [`ChannelMode`]{@link ChannelMode} flag that excludes [`SUBSCRIBE`]{@link ChannelMode#SUBSCRIBE}. |
497+
| objectPublishers: Int ||| CHM2g | The number of realtime attachments permitted to publish object messages to the channel. This requires the `object-publish` capability and for a client to have specified a [`ChannelMode`]{@link ChannelMode} flag that includes [`OBJECT_PUBLISH`]{@link ChannelMode#OBJECT_PUBLISH}. |
498+
| objectSubscribers: Int ||| CHM2h | The number of realtime attachments receiving object messages on the channel. This requires the `object-subscribe` capability and for a client to have specified a [`ChannelMode`]{@link ChannelMode} flag that includes [`OBJECT_SUBSCRIBE`]{@link ChannelMode#OBJECT_SUBSCRIBE}. |
495499

496500
## class CipherParams
497501

0 commit comments

Comments
 (0)