---
slug: ./ServerSentEvent
title: "ServerSentEvent"
sidebar_label: "ServerSentEvent"
description: "Kotlin binding reference: ServerSentEvent."
---

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

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

# ServerSentEvent

[common]\
constructor(event: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) = &quot;message&quot;, data: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), id: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html) = &quot;&quot;)