Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for sender (0.02 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

                .newBuilder()
                .header("Authorization", "XYZ")
                .build()
            }.build()
        server.enqueue(
          MockResponse(
            code = 401,
            body = "{\"error\":{\"message\":\"No auth credentials found\",\"code\":401}}",
            headers = Headers.headersOf("content-type", "application/json"),
          ),
        )
        server.enqueue(
          MockResponse(
            body =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. .github/workflows/ci.yml

              java-version: 24
              distribution: 'temurin'
              server-id: sonatype-nexus-snapshots
              server-username: CI_DEPLOY_USERNAME
              server-password: CI_DEPLOY_PASSWORD
              cache: 'maven'
          - name: 'Publish'
            env:
              CI_DEPLOY_USERNAME: ${{ secrets.CI_DEPLOY_USERNAME }}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 19:19:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  3. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

      @StartStop
      private val server = MockWebServer()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private val listener = EventSourceRecorder()
      private val client = clientTestRule.newClient()
    
      @AfterEach
      fun after() {
        listener.assertExhausted()
      }
    
      @Test
      fun processResponse() {
        server.enqueue(
          MockResponse
            .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

    /*
     * Copyright (C) 2015 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
Back to top