nealsun / lhc

Little LFE HTTP Client

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lhc

Build Status LFE Versions Erlang Versions Tags Downloads

Little (LFE) HTTP Client -- A light-weight LFE wrapper around lhttpc

LHC project logo

Contents

Introduction

This is simply meant to be a dead-simple HTTP client for LFE projects. That's all there is to it. It can use one of several possible HTTP clients under the hood. Some of those can can be a little cumbersome for those new to Erlang when used directly, so lhc can be quite helpful for them.

Dependencies

As of version 0.2.0, this project assumes that you have rebar3 installed somwhere in your $PATH. It no longer uses the old version of rebar. If you do not wish to use rebar3, you may use the most recent rebar2-compatible release of lhc: 0.1.0.

Installation

Just add it to your rebar.config deps:

{deps, [
...
{lhc, ".*",
  {git, "git@github.com:lfex/lhc.git", "master"}}
  ]}.

And then do the usual:

$ rebar compile

Usage

Usage information is provided in the documentation.

Backends

lhc is not an HTTP client in its own right, rather a wrapper for HTTP clients. These "backends" are selectable using a directive in the lfe.config file. For more information, see the backend documentation.

License

Apache Version 2 License

Copyright (c) 2015 BilloSystems, Ltd. Co.

Copyright (c) 2015-2016 Duncan McGreggor oubiwann@gmail.com

About

Little LFE HTTP Client

License:Other


Languages

Language:LFE 76.7%Language:Erlang 12.3%Language:Makefile 11.0%