rcd27
04/09/2022, 10:03 AMconfig
to backend at the start of whole rsocket
interaction. It affects buisness logic, so I want to do it in better way. Now I just put that in setupPayload
, but saw function metadataPush
in RSocket
class. Seems like this is something I need. Any details about it, guys?Oleg Yukhnevich
04/11/2022, 7:46 AMmetadataPuch
on other side, can be used multiple times during connection, to update this connection related config
If you will need to support updating config during connection lifetime - use metadataPush
, if this is one time operation - use setupPayload