pub fn update_server_endpoint(
path: Option<PathBuf>,
server_id: &str,
update: EndpointUpdate,
) -> Result<PathBuf>Expand description
Update a single transport endpoint on an existing server entry in the config file.
The server is matched by ID (case-insensitive). Existing file content — including comments and formatting — is preserved; only the targeted transport sub-table is added, replaced, or removed.