Function build_url_with_fields

Source
pub fn build_url_with_fields(
    https: bool,
    ip: &String,
    fields: &[&'static str],
) -> String
Expand description

Builds the url for a request with fields.

§Arguments

  • https - A bool indicating whether the url should be built for a HTTPS request or not.
  • ip - The IP address to query for.

§Returns

A String containing the url for the request.