code cleanup
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user