TypedRest.Reactive 1.3.6

.NET 5.0 .NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package TypedRest.Reactive --version 1.3.6
NuGet\Install-Package TypedRest.Reactive -Version 1.3.6
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="TypedRest.Reactive" Version="1.3.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TypedRest.Reactive --version 1.3.6
#r "nuget: TypedRest.Reactive, 1.3.6"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TypedRest.Reactive as a Cake Addin
#addin nuget:?package=TypedRest.Reactive&version=1.3.6

// Install TypedRest.Reactive as a Cake Tool
#tool nuget:?package=TypedRest.Reactive&version=1.3.6

TypedRest for .NET

Build API documentation
TypedRest helps you build type-safe, fluent-style REST API clients. Common REST patterns such as collections are represented as classes, allowing you to write more idiomatic code.

var client = new MyClient(new Uri("http://example.com/"));

// GET /contacts
List<Contact> contactList = await client.Contacts.ReadAllAsync();

// POST /contacts -> Location: /contacts/1337
ContactEndpoint smith = await client.Contacts.CreateAsync(new Contact {Name = "Smith"});
//ContactEndpoint smith = client.Contacts["1337"];

// GET /contacts/1337
Contact contact = await smith.ReadAsync();

// PUT /contacts/1337/note
await smith.Note.SetAsync(new Note {Content = "some note"});

// GET /contacts/1337/note
Note note = await smith.Note.ReadAsync();

// DELETE /contacts/1337
await smith.DeleteAsync();

Read a more detailed Introduction to TypedRest or jump right in with the Getting started guide.

You can also take a look at our Sample project.

NuGet packages

TypedRest
The main TypedRest library.

TypedRest.Reactive
Adds support for streaming with ReactiveX (Rx) to TypedRest.

TypedRest.OAuth
Provides an HttpClient DelegatingHandler for OAuth 2.0 / OpenID Connect authentication.
This can also be used independently of the other TypedRest packages.

TypedRest.CommandLine
Build command-line interfaces for TypedRest clients.

Building

The source code is in src/, config for building the API documentation is in doc/ and generated build artifacts are placed in artifacts/. The source code does not contain version numbers. Instead the version is determined during CI using GitVersion.

To build run .\build.ps1 or ./build.sh (.NET SDK is automatically downloaded if missing using 0install).

Contributing

We welcome contributions to this project such as bug reports, recommendations and pull requests.

This repository contains an EditorConfig file. Please make sure to use an editor that supports it to ensure consistent code style, file encoding, etc.. For full tooling support for all style and naming conventions consider using JetBrains' ReSharper or Rider products.

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
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 (3)

Showing the top 3 NuGet packages that depend on TypedRest.Reactive:

Package Downloads
TypedRest.CommandLine

Build command-line interfaces for TypedRest clients.

TypedRest.Wpf

TypedRest.WPF helps you build simple WPF clients using REST clients designed with TypedRest.

OpenServiceBroker.Client

A client library for calling the Open Service Broker API. This specification allows developers, ISVs, and SaaS vendors a single, simple, and elegant way to deliver services to applications running within cloud native platforms such as Cloud Foundry, OpenShift, and Kubernetes.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.7 37 11/28/2022
1.3.6 1,415 11/29/2021
1.3.5 452 9/5/2021
1.3.4 681 1/29/2021
1.3.3 451 11/30/2020
1.3.2 409 11/27/2020
1.3.1 463 11/20/2020
1.3.0 1,040 9/20/2020
1.2.1 455 9/14/2020
1.2.0 467 8/26/2020
1.1.0 787 5/28/2020
1.1.0-rc0001 306 5/12/2020
1.0.3 608 3/23/2020
1.0.2 504 3/6/2020
1.0.1 475 3/6/2020
1.0.0 639 12/11/2019
1.0.0-rc0001 350 9/26/2019
0.43.0 1,347 1/8/2019
0.42.0 699 12/11/2018
0.41.0 901 10/23/2018
0.40.0 755 10/10/2018
0.39.0 858 9/13/2018