Skip to content

Commit 731998b

Browse files
authored
chore(doc): update urls (#386)
* use https * point to final rfc * repo was renamed
1 parent 1d720f0 commit 731998b

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ it as a parameter : `$webPush->flush($batchSize)`.
223223
You can see what the browser vendor's server sends back in case it encountered an error (push subscription expiration, wrong parameters...).
224224

225225
* `sendOneNotification()` returns a [`MessageSentReport`](https://github.com/web-push-libs/web-push-php/blob/master/src/MessageSentReport.php)
226-
* `flush()` returns a [`\Generator`](http://php.net/manual/en/language.generators.php) with [`MessageSentReport`](https://github.com/web-push-libs/web-push-php/blob/master/src/MessageSentReport.php) objects. To loop through the results, just pass it into `foreach`. You can also use [`iterator_to_array`](http://php.net/manual/en/function.iterator-to-array.php) to check the contents while debugging.
226+
* `flush()` returns a [`\Generator`](https://www.php.net/manual/en/language.generators.php) with [`MessageSentReport`](https://github.com/web-push-libs/web-push-php/blob/master/src/MessageSentReport.php) objects. To loop through the results, just pass it into `foreach`. You can also use [`iterator_to_array`](https://php.net/manual/en/function.iterator-to-array.php) to check the contents while debugging.
227227

228228
```php
229229
<?php
@@ -326,8 +326,8 @@ The following are available:
326326
Feel free to add your own!
327327

328328
### What about security?
329-
Payload is encrypted according to the [Message Encryption for Web Push](https://tools.ietf.org/html/draft-ietf-webpush-encryption-01) standard,
330-
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.
329+
Payload is encrypted according to the [Message Encryption for Web Push](https://datatracker.ietf.org/doc/html/rfc8291) standard,
330+
using the user public key and authentication secret that you can get by following the [Web Push API](https://www.w3.org/TR/push-api/) specification.
331331

332332
Internally, WebPush uses the [WebToken](https://github.com/web-token) framework or OpenSSL to handle encryption keys generation and encryption.
333333

@@ -341,7 +341,7 @@ Here are some ideas:
341341
### How to solve "SSL certificate problem: unable to get local issuer certificate"?
342342
Your installation lacks some certificates.
343343

344-
1. Download [cacert.pem](http://curl.haxx.se/ca/cacert.pem).
344+
1. Download [cacert.pem](https://curl.haxx.se/ca/cacert.pem).
345345
2. Edit your `php.ini`: after `[curl]`, type `curl.cainfo = /path/to/cacert.pem`.
346346

347347
You can also force using a client without peer verification.
@@ -365,10 +365,7 @@ WebPush is for web apps.
365365
You need something like [RMSPushNotificationsBundle](https://github.com/richsage/RMSPushNotificationsBundle) (Symfony).
366366

367367
### This is PHP... I need Javascript!
368-
This library was inspired by the Node.js [marco-c/web-push](https://github.com/marco-c/web-push) library.
369-
370-
## Contributing
371-
See [CONTRIBUTING.md](https://github.com/Minishlink/web-push/blob/master/CONTRIBUTING.md).
368+
This library was inspired by the Node.js [web-push-libs/web-push](https://github.com/web-push-libs/web-push) library.
372369

373370
## License
374-
[MIT](https://github.com/Minishlink/web-push/blob/master/LICENSE)
371+
[MIT](https://github.com/web-push-libs/web-push-php/blob/master/LICENSE)

0 commit comments

Comments
 (0)