http_backend_service_inner

Function http_backend_service_inner 

Source
pub async fn http_backend_service_inner(
    req: Request<SgBody>,
) -> Result<SgResponse, BoxError>
Expand description

Http backend service

This function could be a bottom layer of a http router, it will handle http and websocket request.

This can handle both websocket connection and http request.

ยงErrors

  1. Fail to collect body chunks
  2. Fail to upgrade