- Tom Hacohen
This new version brings full support of the Svix API to the C# lib, in addition to the already existing signature verification code. The library is available in both sync and an async variants.
Many thanks to @IAmArchaic from the Svix community for writing it!
How do I use it?
Make sure to update to the latest C# library version (
>=0.59.1 at the time of this writing), and start using it.
As mentioned above, the library exposes both sync and async variants. The way is structured is that each function either no suffix (sync), or the
Async suffix (async).
To use the sync variant:
using Svix; var svix = new SvixClient("AUTH_TOKEN", new SvixOptions("THE_SERVER_URL")); applicationOut = svix.Application.Create( new ApplicationIn(name: "Application name") );
For the async variant:
using Svix; var svix = new SvixClient("AUTH_TOKEN", new SvixOptions("THE_SERVER_URL")); applicationOut = await svix.Application.CreateAsync( new ApplicationIn(name: "Application name") );
Where can I find the documentation?
Even though this library new, it's already fully documented. The documentation shows the async variant, but using the sync variants is trivial.
This library has been tested, and it's already used by a number of our customers. With that being said, it's still new, and may contain issues.
We have a lot more in the works that we'll share in upcoming updates, stay tuned! If you have any thoughts or suggestions regarding what we should work on next, please join the Svix Slack and let us know!