ts-protoc-gen
ts-protoc-gen copied to clipboard
OnHeaders callback is not accessible.
Versions of relevant software used 0.15 What happened Response headers are not accessible from the client because the header's callback is not exposed.
What you expected to happen
I should be able to have onHeaders callback provided by grpc_web library.
const response = client.listFiles(req, headers);
response.on('headers', (headers) => {
console.log(headers);
});
How to reproduce it (as minimally and precisely as possible):
const response = client.listFiles(req, headers);
response.on('headers', (headers) => {
console.log(headers);
});
will throw an unexpected errors.
I'm more than happy to fix it. However, I'm not sure if this repository is alive.
?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.