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
Lookup tables for the browser side: connectDevframe options, RPC client events, connection statuses, and in-page channel error codes.
Lookup tables for a devframe's browser side. Each section links the guide page that teaches the concept.
connectDevframe options
The options of connectDevframe() / getDevframeRpcClient(): Client.
Option
Description
connection
Connection prepared by setupDevframeConnection().
baseURL
Mount path to probe for __connection.json (array = fallback). Default './' (relative to document.baseURI); use an absolute path ('/__devframe/') from outside the SPA.
authToken
Override the auth token (default: a locally-persisted id).
cacheOptions
true for default caching, or an options object.
callTimeout
Ms before a pending rpc.call rejects with a 'timeout'DevframeConnectionError; 0/omit = wait forever.
wsOptions
Transport overrides: onConnected / onError / onDisconnected hooks, socket URL.
rpcOptions
Forwarded to birpc.
connectionMeta
Descriptor that skips the __connection.json fetch.