File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ Then you can run the following commands:
102
102
103
103
Usage:
104
104
105
- web-push send-notification --endpoint=<url> [--key=<browser key>] [--auth=<auth secret>] [--payload=<message>] [--ttl=<seconds>] [--vapid-subject=<vapid subject>] [--vapid-pubkey=<public key url base64>] [--vapid-pvtkey=<private key url base64>] [--gcm-api-key=<api key>]
105
+ web-push send-notification --endpoint=<url> [--key=<browser key>] [--auth=<auth secret>] [--payload=<message>] [--encoding=<aesgcm | aes128gcm>] [-- ttl=<seconds>] [--vapid-subject=<vapid subject>] [--vapid-pubkey=<public key url base64>] [--vapid-pvtkey=<private key url base64>] [--gcm-api-key=<api key>]
106
106
107
107
web-push generate-vapid-keys [--json]
108
108
Original file line number Diff line number Diff line change 93
93
'--auth=auth' ,
94
94
'--payload=hello' ,
95
95
'--ttl=1234' ,
96
+ '--encoding=aesgcm' ,
96
97
'--vapid-subject=http://example.push-serice.com/contact' ,
97
98
'--vapid-pubkey=vapid-publicKey' ,
98
99
'--vapid-pvtkey=vapid-privateKey' ,
You can’t perform that action at this time.
0 commit comments