SDK reference / Models / Messaging
RealtimeChannel
Kind: class
Namespace: Egulu.Sdk.Models.Messaging
A realtime channel: publish and subscribe over WebSocket on the location's Centrifugo server (W142; ADR-0825). The channel's name onthe server carries the project's UID and the channel's UID, and a client reaches it only with tokens from :issueConnectionToken:the server itself checks the signature, the expiry, the channel and the project of every connection and subscription, so a token of oneproject never subscribes or publishes to another project's channel. Subscribers may publish; history is kept in the server's memory only.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
Annotations | Models.Messaging.RealtimeChannel_annotations? | annotations | At most 256 KiB in all; never policy input. |
Channel | string? | channel | The channel's name on the realtime server (`plat:` and the project's and the channel's UIDs); a client subscribes to this name. |
CreateTime | DateTimeOffset? | createTime | The createTime property |
DeleteTime | DateTimeOffset? | deleteTime | The deleteTime property |
Description | string? | description | Human-readable description. |
DisplayName | string? | displayName | Up to 63 characters. |
Endpoint | string? | endpoint | The WebSocket URL a client connects to, set when the channel is READY. |
EngineVersion | string? | engineVersion | The realtime server's version. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Labels | Models.Messaging.RealtimeChannel_labels? | labels | At most 64. |
Location | string? | location | Location ID where the channel is homed. |
Name | string? | name | The resource name, for example projects/p/locations/l/instances/i. |
PurgeTime | DateTimeOffset? | purgeTime | The purgeTime property |
Reconciling | bool? | reconciling | True while the platform works toward the spec. |
State | Models.Messaging.RealtimeChannelState? | state | Realtime channel lifecycle states (W142; ADR-0825, ADR-0105). |
Uid | string? | uid | UUIDv7, never reused. |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |