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

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

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

# route

[common]\
fun [route](route.md)(method: [Method](../Method/index.md), path: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), handler: [Handler](../Handler/index.md)): [RouteGroup](index.md)

Register [handler](route.md) for [method](route.md) at the exact [path](route.md).