Rsocket object supports obtaining local address and remote address
atshow opened this issue · 2 comments
atshow commented
I'm using spring boot rsocket to develop microservices. Now I have a requirement to get the local address and remote address of the connection. I find that I can't get the local address and remote address from the rsocket object. Can we learn io.netty.channel.channel to add localAddress and remoteAddress methods to the rsocket object
atshow commented
I have an idea to add two interfaces to the rsocket object, as shown below
public interface RSocket extends Availability, Closeable {
......
default SocketAddress localAddress() {
return null;
}
default SocketAddress remoteAddress() {
return null;
}
......
}