Skip to content

Repository files navigation

builder.Services.AddFmgLibHttpClient(); // OR
builder.Services
    .AddFmgLibHttpClient(() =>
        {
            JsonSerializerOptions options = new JsonSerializerOptions();
            options.PropertyNameCaseInsensitive = true;

            return options;
        });
User user = await HttpClientHelper.SendAsync<User>("REUQEST_URL", HttpMethod.Post, jsonRequestContent, ClientContentType.Json);

About

It is a library that offers you dynamism for the HttpClient service and contains methods that parse the returned response to the model you want.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages