proxy_handler

Function proxy_handler 

Source
pub async fn proxy_handler(
    __arg0: Extension<Arc<ProxyState>>,
    req: Request<Body>,
) -> Result<Response<Body>, StatusCode>
Expand description

Main proxy handler that serves prerendered content from cache or fetches from backend if not cached