firebase-admin-node icon indicating copy to clipboard operation
firebase-admin-node copied to clipboard

feat(fcm): Add HTTP2 support for `sendEach()` and `sendEachForMulticast()`

Open jonathanedey opened this issue 1 year ago • 1 comments

Added:

  • HTTP/2 support for sendEach() and sendEachForMulitcast()
  • New deprecated method enableLegacyTransport()

When sending messages using sendEach() or sendEachForMulitcast() a HTTP/2 connection is now used by default.

In order to use the legacy HTTP/1.1 versions of these methods, the enableLegacyTransport() method must be used. This method is already marked as deprecated and will be removed once the HTTP/2 transport is considered fully stable.

Related: #2488

jonathanedey avatar May 09 '24 15:05 jonathanedey

Thanks Jonathan! Let's make the changes we discussed in the API proposal and do another pass. We should be good to go then!

lahirumaramba avatar Jun 11 '24 15:06 lahirumaramba