Skip to content

Instance Method

register(_:at:)

Registers a new Output to the Router at a given path.
func register(_ output: Output, at path: [PathComponent])

Parameters

output

Output to register.

path

Path to register output at.