Function: createControlPlaneClient()
Generated from SDK v1 (protocol 1) at source revision
97c6bb1. Never edit by hand; runnpm run generate:reference.
Function: createControlPlaneClient()
Section titled “Function: createControlPlaneClient()”createControlPlaneClient(
baseURL,fetcher,eventSourceFactory):ControlPlaneClient
Defined in: sdk/client.ts:154
Shared HTTP Control API semantics used by non-web frontends. It exposes no persistence handle and routes every mutation through the public API.
Parameters
Section titled “Parameters”baseURL
Section titled “baseURL”string = "/api"
fetcher
Section titled “fetcher”ControlPlaneFetch = ...
eventSourceFactory
Section titled “eventSourceFactory”ControlPlaneEventSourceFactory = defaultEventSource