Winglet.Messenger.Client
0.3.0
dotnet add package Winglet.Messenger.Client --version 0.3.0
NuGet\Install-Package Winglet.Messenger.Client -Version 0.3.0
<PackageReference Include="Winglet.Messenger.Client" Version="0.3.0" />
<PackageVersion Include="Winglet.Messenger.Client" Version="0.3.0" />
<PackageReference Include="Winglet.Messenger.Client" />
paket add Winglet.Messenger.Client --version 0.3.0
#r "nuget: Winglet.Messenger.Client, 0.3.0"
#:package Winglet.Messenger.Client@0.3.0
#addin nuget:?package=Winglet.Messenger.Client&version=0.3.0
#tool nuget:?package=Winglet.Messenger.Client&version=0.3.0
Winglet.Messenger.Client
Winglet.Messenger.Client is the typed service-to-service client for the Winglet.Messenger REST API.
Registration
Use the shared Winglet.Client pipeline:
services.AddMessengerClient(configuration);
Configure an absolute HTTP/HTTPS endpoint at Winglet:Clients:Messenger:BaseUrl. An options overload is also available:
services.AddMessengerClient(options => options.BaseAddress = new Uri("https://messenger.example/"));
The client delegates authentication, correlation, Problem Details and bounded safe-method resilience to Winglet.Client. Register an IWingletClientTokenProvider in the consuming service; the client does not parse JWTs, mint tokens or forward inbound bearer tokens implicitly.
Scope and source identity
The client does not accept TenantId, scope or SourceService. Scope is determined by the authenticated token context. SourceService is resolved by Messenger from the normalized caller service identity. The client does not choose a provider.
Operations
IMessengerClient exposes create, detail, typed list/filter, cancel and the tenant-scoped summary, provider-operations and delivery reports. Global report operations are isolated on IMessengerAdminClient.
The caller owns Idempotency-Key. CreateMessageAsync and CancelMessageAsync forward it unchanged; retrying an operation requires reusing the same key. Accepted means Messenger accepted the submission, not that recipients received the email. Provider callbacks and internal delivery/retention operations are not exposed.
| 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
- Microsoft.Extensions.Http (>= 10.0.11)
- Microsoft.Extensions.Http.Resilience (>= 10.1.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.11)
- Winglet.Client (>= 0.2.0)
- Winglet.Messenger.Contracts (>= 0.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.