status

abstract fun status(status: Int)

Exported method allowing guest code to set the response status code.

This method is not terminal, unlike send.

Parameters

status

The HTTP status code to send.