I may have missed this functionality, but is there a way to send trailing metadata (trailers) from a server-streaming situation. Imagine a simple scenario of a method which outputs several messages of random length, and then you want to send a header that contains the cumulative length of those messages (or other information that you can only determine once you have sent out some or all of the messages).
Did you ever figure this out? Looking to do something similar but include a unique ID on each request. Found this discussion but not super clear how to use it, https://github.com/hyperium/tonic/discussions/1101
I may have missed this functionality, but is there a way to send trailing metadata (trailers) from a server-streaming situation. Imagine a simple scenario of a method which outputs several messages of random length, and then you want to send a header that contains the cumulative length of those messages (or other information that you can only determine once you have sent out some or all of the messages).