code cleanup

This commit is contained in:
2021-03-04 20:40:53 -06:00
parent 7ed771d467
commit 97ccff1fae
10 changed files with 36 additions and 41 deletions

View File

@@ -58,7 +58,7 @@ namespace Gameboard.ShogiUI.Sockets.Repositories.Utility
this.SetBearerToken(tokenResponse.AccessToken);
}
public async new Task<HttpResponseMessage> GetAsync(string requestUri)
public new async Task<HttpResponseMessage> GetAsync(string requestUri)
{
var response = await base.GetAsync(requestUri);
if (response.StatusCode == HttpStatusCode.Unauthorized)
@@ -73,7 +73,7 @@ namespace Gameboard.ShogiUI.Sockets.Repositories.Utility
await response.Content.ReadAsStringAsync());
return response;
}
public async new Task<HttpResponseMessage> PostAsync(string requestUri, HttpContent content)
public new async Task<HttpResponseMessage> PostAsync(string requestUri, HttpContent content)
{
var response = await base.PostAsync(requestUri, content);
if (response.StatusCode == HttpStatusCode.Unauthorized)
@@ -90,7 +90,7 @@ namespace Gameboard.ShogiUI.Sockets.Repositories.Utility
await response.Content.ReadAsStringAsync());
return response;
}
public async new Task<HttpResponseMessage> PutAsync(string requestUri, HttpContent content)
public new async Task<HttpResponseMessage> PutAsync(string requestUri, HttpContent content)
{
var response = await base.PutAsync(requestUri, content);
if (response.StatusCode == HttpStatusCode.Unauthorized)
@@ -107,7 +107,7 @@ namespace Gameboard.ShogiUI.Sockets.Repositories.Utility
await response.Content.ReadAsStringAsync());
return response;
}
public async new Task<HttpResponseMessage> DeleteAsync(string requestUri)
public new async Task<HttpResponseMessage> DeleteAsync(string requestUri)
{
var response = await base.DeleteAsync(requestUri);
if (response.StatusCode == HttpStatusCode.Unauthorized)