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

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

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

# setReadTimeout

[common]\
fun [setReadTimeout](setReadTimeout.md)(seconds: [Int](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html))

How long one read waits for the next byte of a request, in seconds.