Skip to content

Conversation

stanley-cheung
Copy link
Collaborator

@stanley-cheung stanley-cheung commented Apr 6, 2020

In gRPC, there's a concept difference between the initial metadata and the trailing metadata. This PR added the .on('metadata', ...) callback so that the client can receive the initial metadata. The trailing metadata will continue to be available as on('status', (status) => // status.metadata ).

Fixes #662

@stanley-cheung stanley-cheung merged commit 6e2a187 into grpc:master Apr 6, 2020
@stanley-cheung stanley-cheung deleted the add-metadata-callback branch April 6, 2020 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot retrieve gRPC metadata from responses
1 participant