在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:savonrb/httpi开源软件地址:https://github.com/savonrb/httpi开源编程语言:Ruby 100.0%开源软件介绍:HTTPIA common interface for Ruby's HTTP libraries. InstallationHTTPI is available through Rubygems and can be installed via:
or add it to your Gemfile like this:
Usage examplerequire "httpi"
# create a request object
request = HTTPI::Request.new
request.url = "http://example.com"
# and pass it to a request method
HTTPI.get(request)
# use a specific adapter per request
HTTPI.get(request, :curb)
# or specify a global adapter to use
HTTPI.adapter = :httpclient
# and execute arbitary requests
HTTPI.request(:custom, request) SOCKS Proxy SupportTo use the the SOCKS proxy support, please add the require 'socksify'
require 'socksify/http' to your project. DocumentationContinue reading at https://www.rubydoc.info/gems/httpi |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论