Module erlcloud_httpc

HTTP client abstraction for erlcloud.

Authors: Ransom Richardson (ransom@ransomr.net).

Description

HTTP client abstraction for erlcloud. Simplifies changing http clients. API matches lhttpc, except Config is passed instead of options for future cusomizability.

Data Types

request_fun()

request_fun() = lhttpc | httpc | hackney | {module(), atom()} | fun((string(), head | get | put | post | trace | options | delete, [{binary(), binary()}], binary(), pos_integer(), #aws_config{}) -> {ok, {{pos_integer(), string()}, [{string(), string()}], binary()}} | {error, any()})

Function Index

request/6

Function Details

request/6

request(URL, Method, Hdrs, Body, Timeout, Aws_config) -> any()


Generated by EDoc