开发者

httpwebrequest with events vb2008

Is it possibl to get events of httpwebrequest? for example whn i make a post request, then in the events procedure i should be getting something like this in the following order say

  • connecting to website
  • connected to website
  • posting request
  • re开发者_StackOverflowquest posted
  • waiting for response
  • receiving response
  • response received
  • disconnecting
  • disconnected

Or how to i implement something like this with the webrequest?


You'll want to use the WebClient class instead. This class offers several events, although not all of the ones you're looking for.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜