start 0.8.7 and make UnifiedRequester/UnifiedRouter fields are public

This commit is contained in:
2021-12-14 13:25:58 +06:00
parent ed1baaade7
commit 6f37125724
4 changed files with 14 additions and 6 deletions

View File

@@ -15,8 +15,8 @@ import kotlinx.coroutines.flow.Flow
import kotlinx.serialization.*
class UnifiedRouter(
private val serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat,
private val serialFormatContentType: ContentType = standardKtorSerialFormatContentType
val serialFormat: StandardKtorSerialFormat = standardKtorSerialFormat,
val serialFormatContentType: ContentType = standardKtorSerialFormatContentType
) {
fun <T> Route.includeWebsocketHandling(
suburl: String,