使用Rest-Client Gem提供Http请求的时间详细信息?

时间:2013-07-14 09:28:22

标签: ruby rest rest-client

我使用"rest-client" gem为我的API调用创建测试。

但是,我想获得有关HTTP请求时间的更低级别的详细信息。特别是,我有兴趣知道服务器处理的确切时间,与连接或传输返回数据所需的时间无关。

get such details if you're using curl from the command line很容易。

但我怎么能用“rest-client”宝石来做呢? (或者用另一颗红宝石?)

0 个答案:

没有答案