Skip to content

Next

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.

Next

Continues the middleware onion toward the route handler.

public class Next

constructor

Creates a Next with step.

public constructor(step: fun(): Future<HttpOutgoing>)

call

Runs the next step in the middleware pipeline.

public fun call(): Future<HttpOutgoing>