On Friday, January 5, 2018 at 10:51:09 PM UTC+2, Jason Lee wrote: > > I've set up a GoLang post request handler that uploads a file to Google > Cloud Storage. > > Now I'd like to figure out how I can send the upload progress info back to > the client before the whole thing finishes. >
If the client is browser and uses XMLHttpRequest to POST the file then it can use XMLHttpRequest.upload.onprogress eventhandler to track the progress. No need to do anything on the server side for that to work. HTH ain -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.