http
General purpose data, functions, and utilities for use by LFE HTTP clients, servers, URL-parsers, web frameworks, etc.
Table of Contents
↟
Features- Request maps:
(http.request:new 'GET "http://example.com")
- Headers:
(http.header:list->map (#(content-type #"text/plain")))
- +150 status codes:
(http.status:im-a-teapot)
- +2000 mime types:
(http.mimetype:application/json))
↟
InstallationAdd it to your rebar.config
deps:
{deps, [
...
{http, "0.3.0", {pkg, lfe_http}}
]}.
↟
LicenseApache License, Version 2.0
Copyright © 2023, Duncan McGreggor oubiwann@gmail.com.