Skip to content

Latest commit

 

History

History
30 lines (18 loc) · 968 Bytes

README.md

File metadata and controls

30 lines (18 loc) · 968 Bytes

Path Variable Handlers Build Status

This is a library for handling paths. Many RESTful APIs contain resources that have variables in their paths (e.g., /things/:thing_id). This library exposes a way to process such resource paths in a low-effort way.

While this is mostly useful for REST APIs, it could also be used, for example, to process MQTT topics containing wildcards.

There is nothing platform-specific about this library.

Examples

Examples are found in the ./examples directory. This is the easiest way to get started.

Development

Run tests with:

platformio test

Build examples with, for instance:

platformio ci --board=d1_mini --lib=. examples/simple

New Release

  1. Update version in library.properties and library.json.
  2. Create a new tag with the corresponding version and push.