Skip to main content

answer

Function answer 

Source
fn answer(
    response: Result<Response<Body>, Error>,
) -> Result<(u16, Value), Problem>
Expand description

Reads an answer: its status and its JSON. A large vault is more than ureq’s 10 MB; one that could not be read whole is not an empty vault.