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

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

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

# setMaxConnections

[common]\
fun [setMaxConnections](setMaxConnections.md)(count: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html))

The concurrent-connection ceiling; 0 means unlimited.