diff options
author | Loïc Hoguin <[email protected]> | 2018-08-06 10:19:09 +0200 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-08-06 10:19:09 +0200 |
commit | 0ff0b2acfe9a113a4be9502fedfc4d74f4fc24f4 (patch) | |
tree | 5fa80c24668e2fe7a219b43dd008bbec6cad9b9b /src | |
parent | 7ee67df066af3d38fdb78aa396a6c3dd923ed107 (diff) | |
download | cowlib-0ff0b2acfe9a113a4be9502fedfc4d74f4fc24f4.tar.gz cowlib-0ff0b2acfe9a113a4be9502fedfc4d74f4fc24f4.tar.bz2 cowlib-0ff0b2acfe9a113a4be9502fedfc4d74f4fc24f4.zip |
Export two cow_http types used by Gun
Diffstat (limited to 'src')
-rw-r--r-- | src/cow_http.erl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cow_http.erl b/src/cow_http.erl index b59b124..0eccd16 100644 --- a/src/cow_http.erl +++ b/src/cow_http.erl @@ -28,7 +28,11 @@ -export([version/1]). -type version() :: 'HTTP/1.0' | 'HTTP/1.1'. +-export_type([version/0]). + -type status() :: 100..999. +-export_type([status/0]). + -type headers() :: [{binary(), iodata()}]. -export_type([headers/0]). |