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.
精彩评论