Skip to content

Conversation

jessejacksonanz
Copy link
Contributor

This pull request addresses #385.

Of note, because there is only one HTTP client involved in sending both single messages and batch messages, the WithEndpoint() override will apply to both endpoints, even though the paths of the original endpoints differ. There's no easy way around this without refactoring of the code to use two different HTTP clients and in practice, somebody wanting to override this endpoint can likely cope with this limitation by dealing with the different requests based on the incoming content.

Copy link
Contributor

@hiranya911 hiranya911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @jessejacksonanz. LGTM 👍

@hiranya911 hiranya911 changed the title Allow for override of batch endpoint URL fix(fcm): Allow for override of batch endpoint URL Aug 7, 2020
@hiranya911 hiranya911 self-assigned this Aug 7, 2020
@hiranya911 hiranya911 merged commit 13184d3 into firebase:dev Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants