http
General purpose data, functions, and utilties for use by LFE HTTP clients, servers, URL-parsers, web frameworks, etc.
Table of Contents
Features ↟
-
Status codes:
(http.code:im-a-teapot) -
Request map:
(http.request:new 'GET "http://example.com") -
Headers:
(http.header:list->map (#(content-type #"text/plain")))
Installation ↟
Add it to your rebar.config deps:
{deps, [
...
{http, "0.2.0", {pkg, lfe_http}}
]}.License ↟
Apache License, Version 2.0
Copyright © 2023, Duncan McGreggor oubiwann@gmail.com.