What happens in HttpWebRequest.GetResponse()?

  • Thread starter Thread starter Morgan Cheng
  • Start date Start date
M

Morgan Cheng

When the function HttpWebRequest.GetResponse() is called, what
happened?
I mean, does this function return till all HTTP response is downloaded
to local machine? or only HTTP header part retrived is enough for the
function to return?

Thanks
 
GetResponse returns the entire Response stream -- headers, everything.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top