Copyright © (C) 2020, Big Data Technology
Authors: Evgeny Khramtsov (ekhramtsov@bdt.group).
error_reason() = {file, file_error_reason()} | {http, conf_http:error_reason()}
file_error_reason() = empty_path | invalid_path | unsupported_uri | file:posix()
mime_type() = binary()
ref() = binary() | uri_string:uri_map()
format_error/1 | |
format_ref/1 | |
path_to_ref/1 | |
read/2 |
format_error(X1::error_reason()) -> string()
format_ref(URI::ref()) -> binary()
path_to_ref(Path::binary()) -> {ok, ref()} | {error, error_reason()}
read(URI::ref(), Mimes::[mime_type(), ...]) -> {ok, term()} | {error, error_reason()}
Generated by EDoc