Closed expertsender-marcinsynak closed 5 years ago
You are correct - it's hard coded to 12 hours. I will add an option shortly.
Thank you.
VapidDetails.Expiration will exist in next nuget release.
Thank you.
Splendid! We'll be waiting for the package update.
Hello, is there a chance new NuGet package will appear soon? The last version is from March, 2018, I hope you did not abandon this project completely :)
Best regards.
Hi,
I'll publish a new version within the next week. :)
Thank you.
"WebPushClient.SendNotification" does not allow sending notification with expiration date.
Internally, it calls "VapidHelper.GetVapidHeaders" which has "expiration" parameter, but it is omitted and it defaults to 12 hours.
It would be nice if we could pass our own value somehow (perhaps through "VapidDetails" object?)
Or maybe there's a way to work around it which I did not find? I'd be grateful for any help.