Skip to main content

proxy

Function proxy 

Source
pub async fn proxy(
    services: &Services,
    request: Request<Body>,
) -> Result<Response>
Expand description

Answers a request no route matched.

A path an appservice claims (MSC4512) is authenticated and forwarded to it, the response streaming back; any other request is 404 before it is authenticated or its body read.