- From: Peter Beverloo <notifications@github.com>
- Date: Mon, 27 Jul 2015 08:15:23 -0700
- To: w3c/push-api <push-api@noreply.github.com>
Received on Monday, 27 July 2015 15:15:54 UTC
Agreed. Having a method raises an interesting question for the serializer - it'd expose a property that otherwise wouldn't exist. However, since it's not a client-side concern there's a good reason for `JSON.stringify(pushSubscription)` to include anything the server needs. It could either include the escaped hex sequence of the ArrayBuffer's contents, or the base64 representation. I'm not sure what would be idiomatic - there's little precedence. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/pull/130#issuecomment-125241540
Received on Monday, 27 July 2015 15:15:54 UTC