Skip to content

Commit

Permalink
reboot
Browse files Browse the repository at this point in the history
  • Loading branch information
Tynab committed May 2, 2023
1 parent aacaadb commit be6f8e6
Show file tree
Hide file tree
Showing 72 changed files with 156 additions and 8,218 deletions.
14 changes: 0 additions & 14 deletions lib/YANLib/Async/YANEnumerable.cs

This file was deleted.

133 changes: 0 additions & 133 deletions lib/YANLib/Async/YANFunc.cs

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
using System.Xml.Linq;
using static System.Net.HttpStatusCode;

namespace YANLib.Async;
namespace YANLib.Demo;

public static partial class YANHttpClient
{
public static async ValueTask<T?> GetApiAsync<T>(this HttpClient httpClient, string uri, string param, string? path = null, string? authorization = null, JsonSerializerOptions? serializerOptions = null) where T : class, new()
private static async ValueTask<T?> GetApiAsync<T>(this HttpClient httpClient, string uri, string param, string? path = null, string? authorization = null, JsonSerializerOptions? serializerOptions = null) where T : class, new()
{
try
{
Expand Down Expand Up @@ -52,7 +52,7 @@ public static partial class YANHttpClient
}
}

public static async Task<T?> PostApiAsync<T>(string uri, string param, object data, string? authorization = null) where T : class, new()
private static async Task<T?> PostApiAsync<T>(string uri, string param, object data, string? authorization = null) where T : class, new()
{
var httpCl = new HttpClient
{
Expand Down
Loading

0 comments on commit be6f8e6

Please sign in to comment.