redirect

fun redirect(url: String, status: Short = definedExternally): Response(source)

MDN Reference


fun redirect(url: URL, status: Short = definedExternally): Response(source)