c# - Looking for a way to override the GetResponseStream Method of HttpWebResponse -


i looking way override getresponsestream method of httpwebresponse class, in order have custom stream returned. goal modify stream. not sure if possible? being done in context of integrating web service , need strip away of content response stream. thoughts?

you can't override httpwebresponse's behavior. either wrap web-service api on client side, @jon suggested in comment, or, if want adventurous, change request, pointing proxy server modify stream required.

it's not going trivial, though.


Comments

Popular posts from this blog

c# - Attribute value in root node of xml Linq to XML -

ios swift - uiimage array to video disorted and flipped -

scala, transform a callback pattern to a functional style internal iterator -