encode_response

Function encode_response 

Source
pub fn encode_response(contexts: &[Context]) -> Vec<u8> 
Expand description

Encode a GET /contexts response body: a u32 count then each context.