HttpClient
is not disposed or destroyed as it is reused between calls.
public async Task<HttpContent> DoSomething()
{
var response = await _httpClient.PutAsync(url, content);
return response.Content;
}
Does the response.Content need to be copied into another location and then the response which is a HttpContent
manually disposed via .Dispose()
? If so, why or why not?