Connect to the Restate ingress.
With a url, exactly that. Without one, the ingress is taken from RESTATE_INGRESS_KEY, the ingress key from the Cloud UI (Development → Configure Client).
url
RESTATE_INGRESS_KEY
connection options
a connection to the Restate ingress
const rs = connect({ url: "http://localhost:8080" }); // a local Restateconst cloud = connect(); // uses RESTATE_INGRESS_KEY Copy
const rs = connect({ url: "http://localhost:8080" }); // a local Restateconst cloud = connect(); // uses RESTATE_INGRESS_KEY
Connect to the Restate ingress.
With a
url, exactly that. Without one, the ingress is taken fromRESTATE_INGRESS_KEY, the ingress key from the Cloud UI (Development → Configure Client).