(
mut config: EndpointConfig,
params: HashMap<String, String>,
req: Request,
)
| 189 | } |
| 190 | |
| 191 | async fn handle_proxy_request_with_params( |
| 192 | mut config: EndpointConfig, |
| 193 | params: HashMap<String, String>, |
| 194 | req: Request, |
| 195 | ) -> Result<Response, (StatusCode, String)> { |
| 196 | // Compute target URL from template and params |
| 197 | let target = Self::substitute_placeholders(&config.target_url, ¶ms); |
| 198 | config.target_url = target; |
| 199 | Self::handle_proxy_request(config, req).await |
| 200 | } |
| 201 | |
| 202 | async fn handle_stream_response( |
| 203 | response: reqwest::Response, |
nothing calls this directly
no outgoing calls
no test coverage detected