Skip to content

UseAttribute

1 min read

Import: import system.webapi;

Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.

UseAttribute

Applies a middleware function to a route or group in source order.

public struct UseAttribute

handler

Middleware function to run for the annotated route or group.

public handler: DeclarationPath