开发者

HttpWebRequest build a custom request?

Basically I have HttpListen开发者_JS百科er to get the request from the client. Now I want to send that request with HttpWebRequest. Is there an easy way to take my raw HTTP request from HttpListener and set it all or will I have to make a parser of some sort to set it bit by bit? Thanks


You have to map them yourself, which isn't that much work.

Initially my thought was to use something like AutoMapper to map them, but the properties of the two classes are too different to map them automatically.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜