servicetalk
servicetalk copied to clipboard
Allow custom `SocketOption`s to be set and get
We allow users to set SocketOption
s on the client/server builder and to query SocketOption
s on ConnectionContext
API. Currently, these methods support only SocketOption
constants from java.net.StandardSocketOptions
and io.servicetalk.transport.api.ServiceTalkSocketOptions
. However, the java.net.SocketOption
API is generic and we should allow users to provide a custom implementation of this interface. We can match it with the ChannelOption
that netty uses internally.