breez_sdk_liquid

Function get_and_log_response

pub async fn get_and_log_response(
    url: &str,
) -> Result<(String, StatusCode), ServiceConnectivityError>
Expand description

Makes a GET request to the specified url and logs on DEBUG:

  • the URL
  • the raw response body
  • the response HTTP status code