【Erlang开源项目】HTTP客户端ibrowse

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

posted on 2012-09-14 23:56  Anthony Li  阅读(1243)  评论(0编辑  收藏  举报

博客园博客已停止更新,博客地址:dyinigbleed.com