Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for CLIENT (0.05 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        )
        server.enqueue(
          MockResponse(body = "Successful auth!"),
        )
        val credential = basic("username", "password")
        client =
          client.newBuilder()
            .authenticator(RecordingOkAuthenticator(credential, "Basic"))
            .build()
        val call = client.newCall(Request(server.url("/")))
        val response = call.execute()
        assertThat(response.body.string()).isEqualTo("Successful auth!")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

            .build(),
        )
        server.enqueue(MockResponse())
        val dns = FakeDns()
        dns["fakeurl"] = client.dns.lookup(server.hostName)
        dns["www.fakeurl"] = client.dns.lookup(server.hostName)
        client =
          client.newBuilder()
            .dns(dns)
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url("http://fakeurl:" + server.port)
              .build(),
          )
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  3. cmd/sts-handlers_test.go

    		Secure:    s.secure,
    		Transport: s.TestSuiteCommon.client.Transport,
    	})
    	if err != nil {
    		c.Fatalf("Error initializing client: %v", err)
    	}
    
    	// Validate that the client from sts creds can access the bucket.
    	c.mustListObjects(ctx, minioClient, bucket)
    
    	// Create an madmin client with user creds
    	userAdmClient, err := madmin.NewWithOptions(s.endpoint, &madmin.Options{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 23:40:37 UTC 2024
    - 97.1K bytes
    - Viewed (0)
  4. tests/test_generate_unique_id_function.py

        )
        def post_router(item1: Item, item2: Item):
            return item1, item2  # pragma: nocover
    
        app.include_router(router)
        client = TestClient(app)
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Jan 13 15:10:26 UTC 2024
    - 66.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/es/client/SearchEngineClient.java

        public EngineInfo getEngineInfo() {
            if (client instanceof final HttpClient httpClient) {
                return httpClient.getEngineInfo();
            }
            throw new SearchEngineClientException("client is not HttpClient.");
        }
    
        //
        // Fesen Client
        //
    
        @Override
        public ThreadPool threadPool() {
            return client.threadPool();
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sun Oct 20 02:08:03 UTC 2024
    - 86.1K bytes
    - Viewed (0)
  6. docs/bucket/notifications/README.md

    client = mqtt.Client(client_id="myclientid",clean_session=False)
    
    client.on_connect = on_connect
    client.on_message = on_message
    
    client.connect("localhost",1883,60)
    client.loop_forever()
    ```
    
    Execute this example python program to watch for MQTT events on the console.
    
    ```py
    python mqtt.py
    ```
    
    Open another terminal and upload a JPEG image into `images` bucket.
    
    ```
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     *
     * ```java
     * // The singleton HTTP client.
     * public final OkHttpClient client = new OkHttpClient.Builder()
     *     .addInterceptor(new HttpLoggingInterceptor())
     *     .cache(new Cache(cacheDir, cacheSize))
     *     .build();
     * ```
     *
     * ## Customize Your Client With newBuilder()
     *
     * You can customize a shared OkHttpClient instance with [newBuilder]. This builds a client that
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

      }
    
      @Test fun peerHttp2ClientDisablesPush() {
        val client = false // Peer is client, so we are server.
        val settings = Settings()
        settings[Settings.ENABLE_PUSH] = 0 // The peer client disables push.
        val connection = connectWithSettings(client, settings)
    
        // verify the peer's settings were read and applied.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  9. istioctl/pkg/describe/describe.go

    	klabels "k8s.io/apimachinery/pkg/labels"
    	"k8s.io/client-go/kubernetes"
    
    	apiannotation "istio.io/api/annotation"
    	"istio.io/api/label"
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/api/networking/v1alpha3"
    	typev1beta1 "istio.io/api/type/v1beta1"
    	clientnetworking "istio.io/client-go/pkg/apis/networking/v1"
    	istioclient "istio.io/client-go/pkg/clientset/versioned"
    	"istio.io/istio/istioctl/pkg/cli"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 50.6K bytes
    - Viewed (0)
  10. pom.xml

    		</dependency>
    		<dependency>
    			<groupId>com.google.oauth-client</groupId>
    			<artifactId>google-oauth-client</artifactId>
    			<version>${google.oauth.client.version}</version>
    		</dependency>
    		<dependency>
    			<groupId>com.google.http-client</groupId>
    			<artifactId>google-http-client</artifactId>
    			<version>${google.http.client.version}</version>
    			<exclusions>
    				<exclusion>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 02:16:03 UTC 2024
    - 49.1K bytes
    - Viewed (0)
Back to top