mirror of
https://github.com/square/okhttp.git
synced 2026-01-17 08:42:25 +03:00
Enhance Javadocs on OkHttpClient.setSocketFactory
This commit is contained in:
@@ -351,7 +351,10 @@ public class OkHttpClient implements Cloneable {
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the socket factory used to create connections.
|
||||
* Sets the socket factory used to create connections. OkHttp only uses
|
||||
* the parameterless {@link SocketFactory#createSocket() createSocket()}
|
||||
* method to create unconnected sockets. Overriding this method,
|
||||
* e. g., allows the socket to be bound to a specific local address.
|
||||
*
|
||||
* <p>If unset, the {@link SocketFactory#getDefault() system-wide default}
|
||||
* socket factory will be used.
|
||||
|
||||
Reference in New Issue
Block a user