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
Post a Comment