handy_httpd.components.multivalue_map

An implementation of a multi-valued mapping, where one key may map to one or more values.

Members

Aliases

CaseInsensitiveStringMultiValueMap
alias CaseInsensitiveStringMultiValueMap = MultiValueMap!(string, string, (a, b) => a < b, (a, b))

A multivalued map of strings, where keys are NOT case sensitive.

StringMultiValueMap
alias StringMultiValueMap = MultiValueMap!(string, string)

A multivalued map of strings, where each string key refers to zero or more string values. All keys are case-sensitive.

Structs

MultiValueMap
struct MultiValueMap(KeyType, ValueType, alias KeySort = (a, b) => a < b, alias KeyEquals = (a, b) => a == b)

A multi-valued mapping, where a key is mapped to one or more values. The map is sorted by keys for O(log(n)) lookup and retrieval, and O(n*log(n)) insertion.