add all client realizations for core repos

This commit is contained in:
2020-08-11 22:15:07 +06:00
parent 336e169147
commit 3d3d184636
35 changed files with 347 additions and 99 deletions

View File

@@ -62,3 +62,8 @@ inline fun <reified T> createStandardWebsocketFlow(
}
}
}
inline fun <reified T> HttpClient.createStandardWebsocketFlow(
url: String,
crossinline conversation: suspend (ByteArray) -> T
) = createStandardWebsocketFlow(this, url, conversation)