Copyright © 2014-2020 Michael Truog
Version: 2.0.1 Jun 20 2023 18:35:42 ------------------------------------------------------------------------
Authors: Michael Truog (mjtruog at protonmail dot com).
format() = cloudi_request_info:format()
key_value_new/1 |
New ResponseInfo key/value data.ResponseInfo is meant to contain key/value pairs that is response meta-data. |
key_value_new/2 |
New ResponseInfo key/value data.ResponseInfo is meant to contain key/value pairs that is response meta-data. |
key_value_parse/1 |
Parse ResponseInfo key/value data.ResponseInfo is meant to contain key/value pairs that is response meta-data. |
key_value_parse/2 |
Parse ResponseInfo key/value data to the return type specified.ResponseInfo is meant to contain key/value pairs that is response meta-data. |
lookup_content_type/0 |
Provide a lookup with common content types.. |
lookup_content_type/1 |
Provide a lookup with common content types while setting string type of the content type value.. |
lookup_content_type/2 |
Perform a lookup on a file extension with temporary data to minimize memory consumption.. |
key_value_new(ResponseInfo::cloudi_key_value:key_values()) -> Result::binary()
key_value_new(ResponseInfo::cloudi_key_value:key_values(), Format::format()) -> Result::binary()
key_value_parse(ResponseInfo::binary() | cloudi_key_value:key_values()) -> Result::#{cloudi_key_value:key() := cloudi_key_value:value()}
key_value_parse(ResponseInfo::binary() | cloudi_key_value:key_values(), ResultType::map | list) -> Result::#{cloudi_key_value:key() := cloudi_key_value:value()} | [{cloudi_key_value:key(), cloudi_key_value:value()}]
lookup_content_type() -> trie:trie()
lookup_content_type(X1::binary | list) -> trie:trie()
lookup_content_type(Format::binary | list, FileExtension::string()) -> {ok, {request | attachment, binary() | string()}} | error
Generated by EDoc