Skip to content

WebRouter

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.

WebRouter

Immutable generated route group; mount it explicitly on an application.

public class WebRouter

constructor

Creates a WebRouter with routes.

public constructor(routes: List<WebEndpoint>)