博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Ruby / libcurl应用
阅读量:4041 次
发布时间:2019-05-24

本文共 549 字,大约阅读时间需要 1 分钟。

Ruby/libcurl is Ruby extention for supporting HTTP FTP SSL.
  • You can get html file from http server.
  • You can post strings to CGI.
  • with proxy, SSL, auth, cookie...
  • You can (get|put) files (from|to) ftp server.
  • Easy to write "Web Robot"
Get Ruby/libcurl 7.15.1 from
tested on
  • FreeBSD
  • Debian GNU/Linux
  • Cygwin
example
require 'curl'w = Curl.neww.url = 'http://www.ruby-lang.org/'#w.proxy = 'proxy.your.domain:8080'      # edit here!w.followlocation = truew.timeout = 20w.performputs w.body_strputs w.header_str
Ruby/libcurl 0.0.2 alpha
Ruby/libcurl 0.0.1

转载地址:http://ccadi.baihongyu.com/

你可能感兴趣的文章
慢慢欣赏linux phy驱动初始化2
查看>>
慢慢欣赏linux CPU占用率学习
查看>>
2020年终总结
查看>>
Homebrew指令集
查看>>
React Native(一):搭建开发环境、出Hello World
查看>>
React Native(二):属性、状态
查看>>
JSX使用总结
查看>>
React Native(四):布局(使用Flexbox)
查看>>
React Native(七):Android双击Back键退出应用
查看>>
Android自定义apk名称、版本号自增
查看>>
adb command not found
查看>>
Xcode 启动页面禁用和显示
查看>>
【剑指offer】q50:树中结点的最近祖先
查看>>
二叉树的非递归遍历
查看>>
【leetcode】Reorder List (python)
查看>>
【leetcode】Linked List Cycle (python)
查看>>
【leetcode】Linked List Cycle (python)
查看>>
【leetcode】Word Break(python)
查看>>
【leetcode】Candy(python)
查看>>
【leetcode】Clone Graph(python)
查看>>