Refactor variable names for clarity in response handling

Renamed variables `body` to `resBody` and `headers` to `resHeaders`
to improve clarity and better reflect their association with the
response object. These changes enhance code readability and
maintainability without altering functionality.
This commit is contained in:
tekh 2025-12-01 10:35:02 +01:00
parent 2610fc8f07
commit 3b4858f5b1

View File

@ -51,7 +51,7 @@ public class InvokeRecActionCommandHandler(
httpReq.Headers.Add(header.Key, header.Value); httpReq.Headers.Add(header.Key, header.Value);
using var response = await http.SendAsync(httpReq, cancel); using var response = await http.SendAsync(httpReq, cancel);
var body = await response.Content.ReadAsStringAsync(cancel); var resBody = await response.Content.ReadAsStringAsync(cancel);
var headers = response.Headers.ToDictionary(); var resHeaders = response.Headers.ToDictionary();
} }
} }