Expand description
§uri-template-system-core
This package is an internal implementation package - it shouldn’t be consumed as a direct dependency. Please see uri-template-system for the top-level package intended for use.
Structs§
- Template
- The
Templatetype is the basis for most simple tasks. Parsing and expansion are both template functions. - Values
- The
Valuestype is used as the source of content during template expansion, and is a logical map of keys to typedValue(which may or may not be present during expansion).
Enums§
- Expand
Error - An
Errorcompatible type which may be the result of a failure ofTemplate::expand(given a validTemplateand providedValues). - Parse
Error - An
Errorcompatible type which may be the result of a failure ofTemplate::parse, likely due to an invalid URI Template format (as defined by the grammar given in RFC6570). - Value
- The
Valuetype is used as the source of content during template expansion, as part of aValuescollection. It maps to the three valid shapes of data defined by the RFC (a single item, a list of items, or a list of key/value pairs).