pub fn usp_get_supported_protocol_response(result: &str) -> Body<'_>
Expand description

Creates a body for a USP Msg with a USP GetSupportedProtocolResp response

§Arguments

  • result - A comma separated list of USP Protocol Versions (major.minor) supported.

§Example

use rusp::usp_generator::usp_get_supported_protocol_response;
let resp = usp_get_supported_protocol_response("1.1");