HttpBuildR.Request 1.1.1

.NET Standard 2.0
dotnet add package HttpBuildR.Request --version 1.1.1
NuGet\Install-Package HttpBuildR.Request -Version 1.1.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HttpBuildR.Request" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HttpBuildR.Request --version 1.1.1
#r "nuget: HttpBuildR.Request, 1.1.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install HttpBuildR.Request as a Cake Addin
#addin nuget:?package=HttpBuildR.Request&version=1.1.1

// Install HttpBuildR.Request as a Cake Tool
#tool nuget:?package=HttpBuildR.Request&version=1.1.1

HTTP BuildR Request HTTP BuildR Request


Http BuildR Request is a simple set of C# functions for building requests using only System.Net.Http!

Getting Started

To use this library, simply include HttpBuildR.Request.dll in your project or grab it from NuGet, and add this to the top of each .cs file that needs it:

using HttpBuildR;
using Req = HttpMethod;

Then get building!,

using HttpBuildR;

// its helpful to alias this for readability
using Req = HttpMethod;


HttpRequestMessage request = 
  // start with the Http method
     // now we can say where the request is made to
     // any thing that is a string or Uri will work
     // plays nice with the flurl Url builder!
     // add some headers
     .WithHeader("x-custom-header", "a","b","c")
     // with some content, they are all supported!
     .WithJsonContent(new {Name = "John", Age = 36});
// now you can send it!!!

For more details/information have a look the test project or create an issue.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on HttpBuildR.Request:

Package Downloads

Extension methods for testing Http servers


Extension methods for testing Function apps

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 235 3/11/2023
1.1.0 690 2/4/2023
1.0.0 1,949 1/8/2023