| key | type | default value | description |
|---|---|---|---|
|
Duration |
|
Socket connect timeout. Default is 10 seconds. @return connect timeout duration |
|
Duration |
|
Socket read timeout. Default is 30 seconds. @return read timeout duration |
|
boolean |
|
Configure socket keep alive.
Default is @return keep alive @see java.net.StandardSocketOptions#SO_KEEPALIVE |
|
int |
|
Socket receive buffer size. @return buffer size, in bytes @see java.net.StandardSocketOptions#SO_RCVBUF |
|
boolean |
|
Socket reuse address.
Default is @return whether to reuse address @see java.net.StandardSocketOptions#SO_REUSEADDR |
|
int |
|
Socket send buffer size. @return buffer size, in bytes @see java.net.StandardSocketOptions#SO_SNDBUF |
|
boolean |
|
This option may improve performance on some systems.
Default is @return whether to use TCP_NODELAY, defaults to `false` @see java.net.StandardSocketOptions#TCP_NODELAY |