diff --git a/libs/TrybeSDK/ApiClient.cs b/libs/TrybeSDK/ApiClient.cs index 19e2649..04067d5 100644 --- a/libs/TrybeSDK/ApiClient.cs +++ b/libs/TrybeSDK/ApiClient.cs @@ -65,18 +65,6 @@ protected internal async Task SendAsync( (HttpStatusCode)0, error: new Error(ex.Message, exception: ex)); - if (httpReq?.Content is not null) - { - response.RequestContent = await httpReq.Content.ReadAsStringAsync() - .ConfigureAwait(false); - } - - if (httpResp?.Content is not null) - { - response.ResponseContent = await httpResp.Content.ReadAsStringAsync() - .ConfigureAwait(false); ; - } - return response; } } @@ -122,18 +110,6 @@ protected internal async Task SendAsync( (HttpStatusCode)0, error: new Error(ex.Message, exception: ex)); - if (httpReq?.Content is not null) - { - response.RequestContent = await httpReq.Content.ReadAsStringAsync() - .ConfigureAwait(false); - } - - if (httpResp?.Content is not null) - { - response.ResponseContent = await httpResp.Content.ReadAsStringAsync() - .ConfigureAwait(false); ; - } - return response; } } @@ -174,18 +150,6 @@ protected internal async Task> FetchAsync( (HttpStatusCode)0, error: new Error(ex.Message, exception: ex)); - if (httpReq?.Content is not null) - { - response.RequestContent = await httpReq.Content.ReadAsStringAsync() - .ConfigureAwait(false); - } - - if (httpResp?.Content is not null) - { - response.ResponseContent = await httpResp.Content.ReadAsStringAsync() - .ConfigureAwait(false); ; - } - return response; } finally @@ -244,18 +208,6 @@ protected internal async Task> FetchAsync