Hello guys, what is the recommended approach to im...
# rsocket
g
Hello guys, what is the recommended approach to implement a clientStreamingServer interaction in rsocket-kotlin lib? . I was using before the spring's abstraction and i always thought it was just using the channel one, but as i see now the channel requires from the server to at least return something. My guess here is, that it is ok to just return an empty payload, and for the client to just ignore it?
o
As i understand correctly, you need to just stream data from client, and have no response from server? If so, you can use requestChannel and on responder side you can do several things depending on what you are trying to achieve: 1. Return empty flow, than this part of stream will be finished, and you will be able to stream from client. In this case, flow returned to requester will also be empty 2. Return flow, which will produce some result, f.e. after you will end streaming, which contains some useful data 3. You can do even more, but it fully depends on what you want to archive:)
g
Yes, the 1 choice is good enough for me, thanks for the help and the clarification !