use text format in ws communication
This commit is contained in:
@@ -286,13 +286,13 @@ open class WsConnectionImpl(
|
|||||||
val calls = rpcSend
|
val calls = rpcSend
|
||||||
.asFlux()
|
.asFlux()
|
||||||
.map {
|
.map {
|
||||||
Unpooled.wrappedBuffer(it.toJson())
|
it.toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
return outbound.send(
|
return outbound.sendString(
|
||||||
Flux.merge(
|
Flux.merge(
|
||||||
calls.subscribeOn(scheduler),
|
calls.subscribeOn(scheduler),
|
||||||
consumer.then(Mono.empty<ByteBuf>()).subscribeOn(scheduler),
|
consumer.then(Mono.empty<String>()).subscribeOn(scheduler),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user