ibrowse
ibrowse is a HTTP client written in erlang.(ibrowse是一个使用Erlang写的HTTP客户端。)
项目地址:https://github.com/cmullaparthi/ibrowse
准备工作:
1、下载源代码
使用Git获取元代码,在终端执行命令:
git clone https://github.com/cmullaparthi/ibrowse.git
2、编译源代码
使用rebar构建工具编译源代码:
./rebar compile
编译成功,会在ebin文件夹下生成.beam和.app文件
(rebar是一款Erlang项目构建工具,之后会在博客中详细介绍。)
使用范例:
1、启动应用
ibrowse:start().
2、发送请求
API文档:https://github.com/cmullaparthi/ibrowse/wiki/ibrowse-API
转载于:https://www.cnblogs.com/dyingbleed/archive/2012/09/14/2680308.html