pub async fn distributed_read_owner(
state: &ServerState,
ctx: &RequestContext,
session_id: Option<&str>,
) -> Result<ReadExecutionOwner>Expand description
Bind a distributed-read registration to the authenticated HTTP profile and (when supplied) to a live SQL session. The session is correlation state; the profile remains the authorization authority for later stream and cancel requests, so a guessed session ID cannot broaden access.