Couriers.Common
6.0.0
dotnet add package Couriers.Common --version 6.0.0
NuGet\Install-Package Couriers.Common -Version 6.0.0
<PackageReference Include="Couriers.Common" Version="6.0.0" />
<PackageVersion Include="Couriers.Common" Version="6.0.0" />
<PackageReference Include="Couriers.Common" />
paket add Couriers.Common --version 6.0.0
#r "nuget: Couriers.Common, 6.0.0"
#:package Couriers.Common@6.0.0
#addin nuget:?package=Couriers.Common&version=6.0.0
#tool nuget:?package=Couriers.Common&version=6.0.0
Description
This project contains the common types, used across the implementations for Courier API clients. The design used for the client methods, is a Result Type approach. All the client methods, return an IHttpRequestResult, as the return type, instead of throwing exceptions. The result instance contains the possible result of the method, along with the HTTP request payload text and response text. In case of any error, the property ErrorMessage can be used to identify the possible error.
Basic Usage
var result = Method(....)
if(!result.IsSuccessful)
HandleTheUnsuccessfulCase();
HandleTheSuccessfulCase();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Couriers.Common:
| Package | Downloads |
|---|---|
|
Couriers.Speedex
A .Net client used to access the Speedex Courier API. |
GitHub repositories
This package is not used by any popular GitHub repositories.