Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for proxyAuthenticator (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/Address.kt

      @JvmName("-deprecated_proxyAuthenticator")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "proxyAuthenticator"),
        level = DeprecationLevel.ERROR,
      )
      fun proxyAuthenticator(): Authenticator = proxyAuthenticator
    
      @JvmName("-deprecated_protocols")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "protocols"),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

          uriPort = uriPort,
          dns = dns,
          socketFactory = SocketFactory.getDefault(),
          sslSocketFactory = null,
          hostnameVerifier = null,
          certificatePinner = null,
          proxyAuthenticator = proxyAuthenticator,
          proxy = proxy,
          protocols = protocols,
          connectionSpecs = connectionSpecs,
          proxySelector = proxySelector,
        )
      }
    
      fun newHttpsAddress(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

    import okhttp3.Route
    
    /**
     * Adapts [Authenticator] to [okhttp3.Authenticator]. Configure OkHttp to use [Authenticator] with
     * [okhttp3.OkHttpClient.Builder.authenticator] or [okhttp3.OkHttpClient.Builder.proxyAuthenticator].
     */
    class JavaNetAuthenticator(private val defaultDns: Dns = Dns.SYSTEM) : okhttp3.Authenticator {
      @Throws(IOException::class)
      override fun authenticate(
        route: Route?,
        response: Response,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top