SocketLabs.EventWebhooks.Extensions
1.0.15-subaccounts
This is a prerelease version of SocketLabs.EventWebhooks.Extensions.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package SocketLabs.EventWebhooks.Extensions --version 1.0.15-subaccounts
NuGet\Install-Package SocketLabs.EventWebhooks.Extensions -Version 1.0.15-subaccounts
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="SocketLabs.EventWebhooks.Extensions" Version="1.0.15-subaccounts" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SocketLabs.EventWebhooks.Extensions --version 1.0.15-subaccounts
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SocketLabs.EventWebhooks.Extensions, 1.0.15-subaccounts"
#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 SocketLabs.EventWebhooks.Extensions as a Cake Addin #addin nuget:?package=SocketLabs.EventWebhooks.Extensions&version=1.0.15-subaccounts&prerelease // Install SocketLabs.EventWebhooks.Extensions as a Cake Tool #tool nuget:?package=SocketLabs.EventWebhooks.Extensions&version=1.0.15-subaccounts&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
<img src="https://static.socketlabs.com/logos/logo-dark-sans-tag-507x64.png" alt="SocketLabs Logo" width="253" height="32" />
SocketLabs.EventWebhooks.Extensions
Library to make consuming SocketLabs webhooks easier.
Getting Started
Prerequisites
- Visual Studio or VSCode
- .NET 8
Usage
Import using dotnet CLI or the Package Manager console in Visual Studio
dotnet cli
dotnet add package SocketLabs.EventWebhooks.Extensions
Package Manager
Install-Package SocketLabs.EventWebhooks.Extensions
Inject the webhook services
var builder = WebApplication.CreateBuilder(args);
// Code removed for brevity ...
// Add the webhook endpoints
builder.Services.AddWebhookEndpoints(builder.Configuration);
// Add custom implementation of IWebhookEventHandler
builder.Services.AddSingleton<IWebhookEventHandler, WebhookEventHandler>();
Add webhook configurations
appsettings.json
{
"WebhookOptions": {
"WebhookEndpoints": [
{
"Name": "cc0b4dc6-d867-49f5-9d8e-8357997789af",
"SecretKey": "Z123456AbcD1234563Ef"
}
]
}
}
Configure Endpoint URL in portal
https://example.com/api/v1/webhookevents/cc0b4dc6-d867-49f5-9d8e-8357997789af
Release History
- 1.0.0 Initial Release
License
Contributing
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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 is compatible. 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 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.19 | 93 | 10/30/2024 |
1.0.18-ippool | 72 | 10/30/2024 |
1.0.17 | 75 | 10/30/2024 |
1.0.16 | 73 | 10/29/2024 |
1.0.15-subaccounts | 124 | 8/14/2024 |
1.0.14 | 250 | 12/21/2023 |
1.0.12 | 106 | 12/21/2023 |