sandbox.get_url(port) to get the
exact signed preview URL to share. Keep the sandbox and the server process
running while someone is using the URL.
HTTP and WebSocket URLs
edge_token query parameter, do not strip or rewrite it. After opening a
signed HTTP preview URL in a browser, normal page navigation can continue
through the scoped preview continuation cookie. WebSocket clients should use the
returned websocket_url; HTTP continuation cookies do not authorize WebSocket
upgrades.
Use a custom preview proxy when you need
your own domain, app session checks, or proxy middleware.
Concept: Create. API reference:
getHost, createSandbox, and
execCommand.