Frank.Http
1.0.4-preview
See the version list below for details.
dotnet add package Frank.Http --version 1.0.4-preview
NuGet\Install-Package Frank.Http -Version 1.0.4-preview
<PackageReference Include="Frank.Http" Version="1.0.4-preview" />
paket add Frank.Http --version 1.0.4-preview
#r "nuget: Frank.Http, 1.0.4-preview"
// Install Frank.Http as a Cake Addin #addin nuget:?package=Frank.Http&version=1.0.4-preview&prerelease // Install Frank.Http as a Cake Tool #tool nuget:?package=Frank.Http&version=1.0.4-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
- Frank.Http.Abstractions (>= 1.0.4-preview)
- Frank.Http.Authentication (>= 1.0.4-preview)
- Frank.Http.Extensions (>= 1.0.4-preview)
- Microsoft.Extensions.Http (>= 8.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Frank.Http:
Package | Downloads |
---|---|
Frank.Wpf.Controls.HttpMessage
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.1.5-preview | 94 | 8/11/2024 |
1.1.0 | 154 | 8/11/2024 |
1.0.4-preview | 98 | 8/11/2024 |
1.0.0 | 96 | 8/7/2024 |
0.2.3-preview | 71 | 8/6/2024 |
0.2.2-preview | 76 | 8/4/2024 |
0.2.0 | 82 | 8/4/2024 |
0.1.1-preview | 74 | 8/4/2024 |