You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each notification can have a specific Time To Live, urgency, and topic.
168
-
The WebPush standard states that `urgency` is optional but some users reports that Safari throws errors when they are not specified. This might be fixed in the future.
169
+
The WebPush standard states that `urgency` is optional but some users reports that Safari throws errors when it is not specified. This might be fixed in the future.
169
170
You can change the default options with `setDefaultOptions()` or in the constructor:
170
171
171
172
```php
@@ -313,9 +314,6 @@ The following are available:
313
314
314
315
Feel free to add your own!
315
316
316
-
### Is the API stable?
317
-
Not until the [Push API spec](http://www.w3.org/TR/push-api/) is finished.
318
-
319
317
### What about security?
320
318
Payload is encrypted according to the [Message Encryption for Web Push](https://tools.ietf.org/html/draft-ietf-webpush-encryption-01) standard,
321
319
using the user public key and authentication secret that you can get by following the [Web Push API](http://www.w3.org/TR/push-api/) specification.
@@ -325,10 +323,9 @@ Internally, WebPush uses the [WebToken](https://github.com/web-token) framework
325
323
### How do I scale?
326
324
Here are some ideas:
327
325
328
-
1. Upgrade to PHP 7.3
329
-
2. Make sure MultiCurl is available on your server
330
-
3. Find the right balance for your needs between security and performance (see above)
331
-
4. Find the right batch size (set it in `defaultOptions` or as parameter to `flush()`)
326
+
1. Make sure MultiCurl is available on your server
327
+
2. Find the right balance for your needs between security and performance (see above)
328
+
3. Find the right batch size (set it in `defaultOptions` or as parameter to `flush()`)
332
329
333
330
### How to solve "SSL certificate problem: unable to get local issuer certificate"?
334
331
Your installation lacks some certificates.
@@ -338,9 +335,6 @@ Your installation lacks some certificates.
338
335
339
336
You can also force using a client without peer verification.
340
337
341
-
### How to solve "Bad key encryption key length" or "Unsupported key type"?
342
-
Disable `mbstring.func_overload` in your `php.ini`.
343
-
344
338
### How to solve "Class 'Minishlink\WebPush\WebPush' not found"
345
339
Make sure to require Composer's [autoloader](https://getcomposer.org/doc/01-basic-usage.md#autoloading).
346
340
@@ -367,6 +361,3 @@ See [CONTRIBUTING.md](https://github.com/Minishlink/web-push/blob/master/CONTRIB
Thanks to [JetBrains](https://www.jetbrains.com/) for supporting the project through sponsoring some [All Products Packs](https://www.jetbrains.com/products.html) within their [Free Open Source License](https://www.jetbrains.com/buy/opensource/) program.
0 commit comments