Frank.Http.Abstractions
0.2.3-preview
See the version list below for details.
dotnet add package Frank.Http.Abstractions --version 0.2.3-preview
NuGet\Install-Package Frank.Http.Abstractions -Version 0.2.3-preview
<PackageReference Include="Frank.Http.Abstractions" Version="0.2.3-preview" />
paket add Frank.Http.Abstractions --version 0.2.3-preview
#r "nuget: Frank.Http.Abstractions, 0.2.3-preview"
// Install Frank.Http.Abstractions as a Cake Addin #addin nuget:?package=Frank.Http.Abstractions&version=0.2.3-preview&prerelease // Install Frank.Http.Abstractions as a Cake Tool #tool nuget:?package=Frank.Http.Abstractions&version=0.2.3-preview&prerelease
Frank.Http
Frank.Http is a library for making HTTP requests in a modern way. It is built on top of the HttpClient
class that is available in .NET Core and .NET Standard. It is designed to be simple to use and easy to extend.
It has simple mechanisms for Authentication, and request enrichment. It also has a simple mechanism for handling errors.
Installation
You can install the library via NuGet. Just search for Frank.Http
in the NuGet package manager.
Usage
Here is a simple example of how to use the library:
using Frank.Http;
var client = new RestClient();
var response = await client.GetAsync("https://jsonplaceholder.typicode.com/posts");
if (response.IsSuccessStatusCode)
{
var content = await response.Content.ReadAsStringAsync();
Console.WriteLine(content);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Frank.Http.Abstractions:
Package | Downloads |
---|---|
Frank.Http.Authentication
Package Description |
|
Frank.Http.Extensions
Package Description |
|
Frank.Http
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.5-preview | 120 | 8/11/2024 |
1.1.0 | 190 | 8/11/2024 |
1.0.4-preview | 118 | 8/11/2024 |
1.0.0 | 130 | 8/7/2024 |
0.2.3-preview | 103 | 8/6/2024 |
0.2.2-preview | 96 | 8/4/2024 |
0.2.0 | 114 | 8/4/2024 |
0.1.1-preview | 104 | 8/4/2024 |