SafeRPC endpoint for renderer-independent GPUI application sessions.
Every remote session owns a distinct GPUI.Session. The server never starts a
native display; rendering happens only on the connected display client.
Options
:app- requiredGPUI.Applicationmodule;:args- default mount argument used when a client omits one;:port- listening port, defaulting to0for an OS-assigned port;:ssl-falseor TLS listener options;:session_ttl- inactivity timeout in milliseconds or:infinity, defaulting to 30 minutes;:max_in_flight_requests_per_connection- positive limit up to 4,096, defaulting to 64;:max_in_flight_requests_per_session- positive limit up to 4,096, defaulting to 16;:name- optional supervisor name.
Summary
Functions
Builds the remote server supervision-tree child specification.
Finds the coordinator process belonging to a remote server tree.
Returns the server's effective listening port.
Starts the internal remote-server coordinator process.
Starts the remote server supervision tree linked to the caller.
Functions
@spec child_spec(keyword()) :: Supervisor.child_spec()
Builds the remote server supervision-tree child specification.
Finds the coordinator process belonging to a remote server tree.
@spec port(Supervisor.supervisor()) :: {:ok, :inet.port_number()} | {:error, term()}
Returns the server's effective listening port.
Starts the internal remote-server coordinator process.
@spec start_link(keyword()) :: Supervisor.on_start()
Starts the remote server supervision tree linked to the caller.