KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I want to read the request stream from a custom HttpWebRequest class that inherits from HttpWebRequest and I have tried to read the request stream in different stages but still not sure how to achieve that in the class. This custom HttpWebRequest is used to serialize a soap message and I want to know what request has been sent in string format. I also implemented custom HttpRequestCreator , HttpWebResponse but still can't find a place/stage from which I can read the request stream. If i output everything in a MemoryStream then copy the content to request stream, anyone knows which stage I can do it? In the constructor, BeginGetRequestStream , EndGetRequestStream or GetRequestStream ?
Tags (comma-separated)
Save Edits
Cancel