larksuite-oapi/src/main/java/com/larksuite/oapi/okhttp3_14/OkHttpClient.java
public Builder socketFactory(SocketFactory socketFactory) {
      if (socketFactory == null) throw new NullPointerException("socketFactory == null");
      if (socketFactory instanceof SSLSocketFactory) {
        throw new IllegalArgumentException("socketFactory instanceof SSLSocketFactory");
      }
      this.socketFactory = socketFactory;
      return this;
    }
/**
     * 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.
     */
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.

If unset, the  SocketFactory#getDefault() system-wide default socket factory will
be used.
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 . If unset the SocketFactory#getDefault () system - wide default socket factory will be used .
public Builder socketFactory(SocketFactory socketFactory) {
      if (socketFactory == null) throw new NullPointerException("socketFactory == null");
      if (socketFactory instanceof SSLSocketFactory) {
        throw new IllegalArgumentException("socketFactory instanceof SSLSocketFactory");
      }
      this.socketFactory = socketFactory;
      return this;
    }
public Builder socketFactory ( SocketFactory socketFactory ) { if ( socketFactory == null ) throw new NullPointerException ( "socketFactory == null" ) ; if ( socketFactory instanceof SSLSocketFactory ) { throw new IllegalArgumentException ( "socketFactory instanceof SSLSocketFactory" ) ; } this . socketFactory = socketFactory ; return this ; }
Sets the socket factory used to create connections.
Sets the socket factory used to create connections .