Skip to main content

classify

Function classify 

Source
fn classify(status: u16, body: &[u8]) -> Option<(Kind, String)>
Expand description

Why status and the JSON body an answer carried say the request was refused or timed out, if they do. The routes answer a refusal as 200 with success: false (a jekt) or status: "refused" (a remote operation), so the status alone does not tell.