summaryrefslogtreecommitdiff
path: root/api/pl.treksoft.kvision.remote/-socket/receive.html
blob: b0d493b9028112151ca1c36cda8ff6e0bdee8e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Socket.receive - kvision</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">kvision</a>&nbsp;/&nbsp;<a href="../index.html">pl.treksoft.kvision.remote</a>&nbsp;/&nbsp;<a href="index.html">Socket</a>&nbsp;/&nbsp;<a href="./receive.html">receive</a><br/>
<br/>
<h1>receive</h1>
(js) <a name="pl.treksoft.kvision.remote.Socket$receive()"></a>
<code><span class="keyword">suspend</span> <span class="keyword">fun </span><span class="identifier">receive</span><span class="symbol">(</span><span class="symbol">)</span><span class="symbol">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a></code>
<p>Receive a string from a websocket.</p>
</BODY>
</HTML>