开发者

How can i activate --trace-asci debugging with curb/curl for ruby?

开发者 https://www.devze.com 2023-01-08 14:08 出处:网络
Standard curl supports command line option --trace-开发者_开发百科asci and --trace. Anyone any clues on how to set this option for a Curl::Easy object?It appears that Curb has a verbose= method which

Standard curl supports command line option --trace-开发者_开发百科asci and --trace. Anyone any clues on how to set this option for a Curl::Easy object?


It appears that Curb has a verbose= method which accepts a boolean. Not sure if that duplicates the functionality that you are looking for, but it may be a good start.

Here is a link to the documentation: http://curb.rubyforge.org/classes/Curl/Easy.html#M000093

0

精彩评论

暂无评论...
验证码 换一张
取 消