Skip to main content

passthrough_handler

Function passthrough_handler 

Source
pub async fn passthrough_handler(
    __arg0: State<ProxyState>,
    method: Method,
    uri: Uri,
    headers: HeaderMap,
    body: Bytes,
) -> Response
Expand description

Catch-all handler — detect provider from path and forward unchanged. Handles all HTTP methods (GET, POST, PUT, PATCH, DELETE).