Skip to main content

handle_cluster_proxy_root

Function handle_cluster_proxy_root 

Source
pub(crate) async fn handle_cluster_proxy_root(
    __arg0: Path<(String, String, usize)>,
    config: Extension<Arc<ClusterProxyConfig>>,
    req: Request<Body>,
) -> Result<Response, (StatusCode, String)>
Expand description

Proxy handler for cluster replica HTTP endpoints (root path).

Route: /api/cluster/:cluster_id/replica/:replica_id/process/:process/

This handler handles requests to the root of a clusterd process’s HTTP endpoint.