com.fedproxy.temp.xrpc.subscribe
Open a relay channel. The subscriber presents a com.fedproxy.temp.xrpc.registration: a record signed (network.attested.signature) over the nonce previously issued by com.fedproxy.temp.xrpc.getRegistrationNonce. The relay verifies the registration's signatures against the issued nonce and the did:key, then binds the WebSocket to that key. On connect the relay sends a #registered frame with the assigned serviceId/proxyRef; subsequent #request frames carry inbound XRPC calls the subscriber answers with #response frames.
Details · subscription
| Kind | subscription |
|---|---|
| Authority | xrpc.temp.fedproxy.com |
| Indexed |
Subscription
subscription · WebSocketParameters
query stringThe full com.fedproxy.temp.xrpc.registration object as URL-encoded JSON, signing the nonce from getRegistrationNonce. Sent inline (not an AT-URI) so the subscriber needs no PDS to host the record.
Messages
DAG-CBOR frames#registered
objectFirst frame sent by the relay on connect, assigning this subscriber a serviceId.
#request
objectAn inbound XRPC call relayed to the subscriber to handle.
#response
objectThe subscriber's reply to a #request, keyed by the same requestId.
Errors
InvalidRequest
Malformed or missing registration.
Unauthorized
Registration signatures do not verify against the issued nonce or did:key, or the nonce is unknown/expired.
#registered
objectFirst frame sent by the relay on connect, assigning this subscriber a serviceId.
#request
objectAn inbound XRPC call relayed to the subscriber to handle.
#response
objectThe subscriber's reply to a #request, keyed by the same requestId.
Properties
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
A subscriber's signed registration. Proves custody of the did:key by carrying badge.blue attestations (network.attested.signature) over the nonce returned from com.fedproxy.temp.xrpc.getRegistrationNonce. Presented as the parameter to com.fedproxy.temp.xrpc.subscribe to open a relay channel bound to this key.
-
Request a one-time registration nonce from the relay before subscribing. The caller presents its did:key and badge.blue attestations (network.attested.signature) over its own key material; the relay replies with a crypto-secure random nonce and its own attestations over that nonce. The subscriber then signs the returned nonce and presents the resulting com.fedproxy.temp.xrpc.registration record as the parameter to com.fedproxy.temp.xrpc.subscribe, proving liveness and key custody and binding the