Skip to main content

respond

Function respond 

Source
async fn respond(
    services: &Services,
    __arg1: (&ConnectionKey, &ConnectionVal),
    conn: &Connection,
    response: Response,
) -> Result<Response>
Expand description

Positions a response at the connection’s next batch and stores the connection.

The connection is stored as this response leaves it, so the client’s next request resumes from the position the response carries.