Function set_param

Source
pub async fn set_param(
    mion_ip: Ipv4Addr,
    parameter_to_set: SetParameter,
) -> Result<bool, NetworkError>
Expand description

Perform a set_param request given a host, and the parameter to set.

ยงErrors

  • If we cannot encode the parameters as a form url encoded.
  • If we cannot make the HTTP request.
  • If the server does not respond with a 200.
  • If we cannot read the body from HTTP.
  • If we cannot parse the HTML response.