Can there be a way to get client's cert from Call or Stream?
Open
feature request
package: @grpc/grpc-js
package: grpc
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 716
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 10
Description
### Is your feature request related to a problem? Please describe.
No.
### Describe the solution you'd like
I hope to find out witch client is connecting from server side when using SSL. In Node's https server, I can use `req.socket.getPeerCertificate()` to do this.
I have tried a lot, but found no way to do this in grpc-node.
### Describe alternatives you've considered
I readed document, and searched the props in `Call` and `Stream` objects in grpc.
### Additional context
Have grpc-node provide any other way to do this?
Contributor guide
Assessment
This issue has not been assessed yet.