Skip to main content

parse_poll

Function parse_poll 

Source
pub fn parse_poll(status: u16, body: &Value) -> Polled
Expand description

Reads a poll’s answer. Anything the relay should not send is read as “ask again”, never as a code.