TypedRest.Reactive
1.4.1
See the version list below for details.
dotnet add package TypedRest.Reactive --version 1.4.1
NuGet\Install-Package TypedRest.Reactive -Version 1.4.1
<PackageReference Include="TypedRest.Reactive" Version="1.4.1" />
paket add TypedRest.Reactive --version 1.4.1
#r "nuget: TypedRest.Reactive, 1.4.1"
// Install TypedRest.Reactive as a Cake Addin #addin nuget:?package=TypedRest.Reactive&version=1.4.1 // Install TypedRest.Reactive as a Cake Tool #tool nuget:?package=TypedRest.Reactive&version=1.4.1
for .NET
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
Adds support for streaming with ReactiveX (Rx) to TypedRest.
Provides an HttpClient DelegatingHandler for OAuth 2.0 / OpenID Connect authentication.
This can also be used independently of the other TypedRest packages.
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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- System.Reactive (>= 6.0.0)
- TypedRest (>= 1.4.1)
-
.NETStandard 2.1
- System.Reactive (>= 6.0.0)
- TypedRest (>= 1.4.1)
-
net6.0
- System.Reactive (>= 6.0.0)
- TypedRest (>= 1.4.1)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on TypedRest.Reactive:
Package | Downloads |
---|---|
TypedRest.CommandLine
Build command-line interfaces for TypedRest clients. Create commands mirroring the endpoints using the types in the TypedRest.CommandLine.Commands namespace. |
|
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.5.4 | 175 | 9/8/2024 |
1.5.3 | 225 | 7/7/2024 |
1.5.2 | 445 | 12/27/2023 |
1.5.1 | 267 | 10/4/2023 |
1.5.0 | 180 | 10/3/2023 |
1.4.1 | 198 | 10/1/2023 |
1.4.0 | 230 | 9/30/2023 |
1.3.8 | 649 | 3/12/2023 |
1.3.7 | 710 | 11/28/2022 |
1.3.6 | 1,755 | 11/29/2021 |
1.3.5 | 718 | 9/5/2021 |
1.3.4 | 966 | 1/29/2021 |
1.3.3 | 687 | 11/30/2020 |
1.3.2 | 635 | 11/27/2020 |
1.3.1 | 707 | 11/20/2020 |
1.3.0 | 1,340 | 9/20/2020 |
1.2.1 | 659 | 9/14/2020 |
1.2.0 | 665 | 8/26/2020 |
1.1.0 | 1,085 | 5/28/2020 |
1.1.0-rc0001 | 401 | 5/12/2020 |
1.0.3 | 867 | 3/23/2020 |
1.0.2 | 719 | 3/6/2020 |
1.0.1 | 716 | 3/6/2020 |
1.0.0 | 909 | 12/11/2019 |
1.0.0-rc0001 | 453 | 9/26/2019 |
0.43.0 | 1,711 | 1/8/2019 |
0.42.0 | 927 | 12/11/2018 |
0.41.0 | 1,235 | 10/23/2018 |
0.40.0 | 1,005 | 10/10/2018 |
0.39.0 | 1,162 | 9/13/2018 |