Skip to content

Initializer

init(_:config:logger:)

Creates a new TrieRouterBuilder.
init(_ type: Output.Type = Output.self, config: TrieRouter<Output>.Configuration = .init(), logger: Logger = .init(label: "codes.vapor.routingkit"))

Parameters

type

The output type for the router.

logger

A logger for the router to use.