You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a19a671
Browse filesBrowse the repository at this point in the historyBrowse files
|`Rest(options: …, plugins: { Objects })`|`TestHttpClient { … }` — `HttpObject` is built into the HTTP client (`lib`), no plugin |
930
+
|`channel.object` (REST) |`` channel.`object` `` — field of type `HttpObject`, always available (RSL16b not applicable) |
931
+
|`AWAIT channel.object.get(RestObjectGetParams(objectId:, path:))` (compact unset or `true`) |`` channel.`object`.getCompact(HttpObjectGetParams.of(objectId, path)) `` (or `ofObjectId(…)` / `ofPath(…)` when only one is set) → `JsonElement?` (blocking); `compact` is never sent |
| compact result | Gson `JsonElement` (`JsonObject` for a map); binary values are Base64 strings for both protocols. Compare with spec literals via `fromJson(…)` from `HttpObjectHelpers.kt` (deviation RSO2a1c) |
934
+
| narrowing a full result (`x.map…`, `x.counter…`, leaf fields) |`x.type` (`ValueType`) plus fail-fast casts like realtime `Instance`: `asLiveMap()`, `asLiveCounter()`, `asLiveObject()`, `asObjectData()`, and leaf values `asString()`, `asNumber()`, `asBoolean()`, `asBinary()`, `asJsonObject()`, `asJsonArray()`; prefer them over `assertIs` chains |
935
+
| full result `RestLiveMap` / `RestLiveCounter`|`HttpLiveMap` (`objectId`, `semantics`, `entries`) / `HttpLiveCounter` (`objectId`, `count`) |
0 commit comments