Skip to content

Commit 06b9295

Browse files
committed
Update doc for RpcCall
1 parent a3e2356 commit 06b9295

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/pages/kotlinx-rpc/topics/0-8-0.topic

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,29 @@
222222
</code-block>
223223
</compare>
224224
</li>
225+
<li>
226+
<p>
227+
<code>RpcCall</code> changed parameter name and type for function's data:
228+
</p>
229+
<compare type="top-bottom">
230+
<code-block lang="Kotlin">
231+
class RpcCall(
232+
val descriptor: RpcServiceDescriptor&lt;*&gt;,
233+
val callableName: String,
234+
val data: Any?,
235+
val serviceId: Long,
236+
)
237+
</code-block>
238+
<code-block lang="Kotlin">
239+
class RpcCall(
240+
val descriptor: RpcServiceDescriptor&lt;*&gt;,
241+
val callableName: String,
242+
val parameters: Array&lt;Any?&gt;,
243+
val serviceId: Long,
244+
)
245+
</code-block>
246+
</compare>
247+
</li>
225248
<li>
226249
<p>
227250
For Ktor, <code>HttpClient.rpc</code> extension function is now non-suspendable.

0 commit comments

Comments
 (0)