Skip to content

OptionsAttribute

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.

OptionsAttribute

Declares an HTTP OPTIONS route.

public struct OptionsAttribute

path

Route path relative to the router prefix; named segments use {name}.

public path: string