c# - How to track the progress of HttpClient post -


i'm building android app sends binary data server using httpclient postasjsonasync method. is possible track progress of data being sent?

i'm using code below send data server:

                    var client = new httpclient();                  client.baseaddress = uri;                  client.defaultrequestheaders.accept.clear();                 client.defaultrequestheaders.accept.add(                         new mediatypewithqualityheadervalue("application/bson"));                  var result = client.postasjsonasync(uri, filebytes); 

implement http post using asynctask. using task can track progress of task.


Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -