Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 197 for Networks (0.16 sec)

  1. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

     *
     * Two instances must be used to get all results for an address.
     *
     * @param network network to use, if not selects the default network.
     */
    @RequiresApi(Build.VERSION_CODES.Q)
    @ExperimentalOkHttpApi
    class AndroidAsyncDns(
      private val dnsClass: AsyncDns.DnsClass,
      private val network: Network? = null,
    ) : AsyncDns {
      @RequiresApi(Build.VERSION_CODES.Q)
      internal val resolver = DnsResolver.getInstance()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 10:07:48 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

    /**
     * A concrete interceptor chain that carries the entire interceptor chain: all application
     * interceptors, the OkHttp core, all network interceptors, and finally the network caller.
     *
     * If the chain is for an application interceptor then [exchange] must be null. Otherwise it is for
     * a network interceptor and [exchange] must be non-null.
     */
    class RealInterceptorChain(
      internal val call: RealCall,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp-android/src/test/kotlin/okhttp3/android/ShadowDnsResolver.kt

      var responder: (Request) -> Unit = {
        it.callback.onAnswer(listOf(), 0)
      }
    
      data class Request(
        val network: Network?,
        val domain: String,
        val nsType: Int,
        val flags: Int,
        val callback: DnsResolver.Callback<List<InetAddress>>,
      )
    
      @Implementation
      fun query(
        network: Network?,
        domain: String,
        nsType: Int,
        flags: Int,
        executor: Executor,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 22 20:07:09 GMT 2024
    - 1.7K bytes
    - Viewed (1)
  4. maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java

        /**
         * Indicates whether network access to remote repositories has been disabled.
         *
         * @return {@code true} if remote access has been disabled, {@code false} otherwise.
         */
        boolean isOffline();
    
        /**
         * Enables/disables network access to remote repositories.
         *
         * @param offline {@code true} to disable remote access, {@code false} to allow network access.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  5. internal/http/dial_others.go

    //
    //nolint:unused
    func setTCPParametersFn(opts TCPOptions) func(network, address string, c syscall.RawConn) error {
    	return func(network, address string, c syscall.RawConn) error {
    		return nil
    	}
    }
    
    // DialContext is a function to make custom Dial for internode communications
    type DialContext func(ctx context.Context, network, address string) (net.Conn, error)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. okhttp-android/api/okhttp-android.api

    	public static final field Companion Lokhttp3/android/AndroidAsyncDns$Companion;
    	public fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;)V
    	public synthetic fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
    	public fun query (Ljava/lang/String;Lokhttp3/AsyncDns$Callback;)V
    }
    
    public final class okhttp3/android/AndroidAsyncDns$Companion {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 1.3K bytes
    - Viewed (1)
  7. okhttp-android/src/test/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

        shadowDns.responder = {
          throw IllegalArgumentException("Network.fromNetworkHandle refusing to instantiate NETID_UNSET Network.")
        }
    
        val dns = AsyncDns.toDns(asyncDns)
    
        assertFailure {
          dns.lookup("google.invalid")
        }.apply {
          hasMessage("Network.fromNetworkHandle refusing to instantiate NETID_UNSET Network.")
          isInstanceOf(UnknownHostException::class)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 22 20:07:09 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. docs/features/interceptors.md

    Content-Length: 1759
    Connection: keep-alive
    ```
    
    The network requests also contain more data, such as the `Accept-Encoding: gzip` header added by OkHttp to advertise support for response compression. The network interceptor's `Chain` has a non-null `Connection` that can be used to interrogate the IP address and TLS configuration that were used to connect to the webserver.
    
    ### Choosing between application and network interceptors
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/templates/configmap-cni.yaml

        install.operator.istio.io/owning-resource: {{ .Values.ownerName | default "unknown" }}
        operator.istio.io/component: "Cni"
    data:
      # The CNI network configuration to add to the plugin chain on each node.  The special
      # values in this config will be automatically populated.
      cni_network_config: |-
            {
              "cniVersion": "0.3.1",
              "name": "istio-cni",
              "type": "istio-cni",
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

    import okhttp3.internal.toHostHeader
    import okio.GzipSource
    import okio.buffer
    
    /**
     * Bridges from application code to network code. First it builds a network request from a user
     * request. Then it proceeds to call the network. Finally it builds a user response from the network
     * response.
     */
    class BridgeInterceptor(private val cookieJar: CookieJar) : Interceptor {
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (2)
Back to top