There is a HttpCompletionOption on the SendRequestAsync() call -- set it to ResponseHeadersRead and the await will complete when the headers are read, not when the response completes.
http://msdn.microsoft.com/en-us/library/hh193601.aspx
No comments:
Post a Comment