Resetting to start of TransportClient request's input stream?


(Otis Gospodnetić) #1

Hello,

If I want to intercept a TransportClient request, look inside of it (e.g.,
to check what type of a call this is), and then pass on/forward the
whole/original TransportClient request, how can I do that?

It seems that one can't read the request a little bit and then reset/rewind
back to the beginning of the input stream. Is there any way around that?
Should we open a ticket and provide a patch? Or is resetting back to the
beginning of the input stream simply not doable?

Thanks,
Otis

Search Analytics - http://sematext.com/search-analytics/index.html
Performance Monitoring - http://sematext.com/spm/index.html

--


(system) #2