Skip to content

Initializer

init(_:options:logger:)

Create a new TrieRouter.
init(_ type: Output.Type = Output.self, options: Set<TrieRouter<Output>.ConfigurationOption> = [], logger: Logger)

Parameters

type

The output type for the router.

options

Configured options such as case-sensitivity.

logger

A logger for the router to use.