get_text

Function get_text 

Source
pub async fn get_text(
    target: &TargetEndpoint,
    path: &str,
    timeout: Duration,
) -> Result<String>
Expand description

2026-10-04: GET <path> and return the body as text, chunked framing decoded, lines joined with \n and each trimmed. A status other than 200 is an error that quotes the body (the streaming client’s Reader does both). A body past TEXT_BODY_LIMIT is an error, so a cut-off page never reads as a page without the series that were cut.