You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/09/11 13:56:06 UTC

[GitHub] bb128b edited a comment on issue #70: How to detect latency or ping or can I detect connection if the device network is slow or fast?

bb128b edited a comment on issue #70: How to detect latency or ping or can I detect connection if the device network is slow or fast?
URL: https://github.com/apache/cordova-plugin-network-information/issues/70#issuecomment-420283187
 
 
   The way I achieved this in our project (we are using Ionic 3.x by the way) was to check the API speed using a timer in an interceptor. Depending on how long the request lasts per request is our latency for that particular request lifecycle.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org