---
title: "Next"
sidebar_label: "Next"
description: "Kotlin binding reference: Next."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Next](index.md)

# Next

[common]\
fun interface [Next](index.md)

The rest of the chain a middleware may call: the next middleware, or the route's handler.

## Functions

| Name | Summary |
|---|---|
| [run](run.md) | [common]<br>abstract fun [run](run.md)(): [ServerResponse](../ServerResponse/index.md) |