Skip to content

RouterAttribute

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.

RouterAttribute

Declares an explicitly mounted group of static HTTP handlers.

public struct RouterAttribute

prefix

Path prefix applied to every route in the group.

public prefix: string