Forum: Ruby net/http get info like elapsed time, latency, connect time.

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Mario R. (Guest)
on 2017-02-28 19:31
When using the net/http library I would like to get the time spent on
the get, post, put... I am performing, and the latency, connect time...
all this kind of data.

Something like this:
Init: 2017-02-28 10:49:57 GMT
Load time: 77
Connect Time: 3
Latency: 77
Size in bytes: 2243
Headers size in bytes: 201
Body size in bytes: 2042
Response code: 200
Response message: OK

Some of this data I know that it comes with the response but what about
the rest?
This topic is locked and can not be replied to.