Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 108 for mockWebServer (0.07 sec)

  1. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

        }
    
      private var client = clientTestRule.newClient()
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
      }
    
      @Test
      fun legalToExecuteTwiceCloning() {
        server.enqueue(MockResponse(body = "abc"))
        server.enqueue(MockResponse(body = "def"))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

    import java.net.UnknownHostException
    import java.time.Duration
    import java.util.Arrays
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.SocketPolicy.FailHandshake
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.internal.DoubleInetAddressDns
    import okhttp3.internal.connection.RealConnectionPool.Companion.get
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  3. samples/slack/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.mockwebserver)
      implementation(libs.squareup.moshi)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 125 bytes
    - Viewed (0)
  4. samples/unixdomainsockets/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(libs.jnr.unixsocket)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 15 23:38:32 UTC 2022
    - 159 bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt

      private var client =
        clientTestRule.newClientBuilder()
          .eventListenerFactory(clientTestRule.wrap(listener))
          .build()
    
      private lateinit var server: MockWebServer
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        platform.assumeNotOpenJSSE()
        platform.assumeHttp2Support()
      }
    
      @Test
      fun serverTruncatesRequestOnLongPostHttp1() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  6. mockwebserver/api/mockwebserver3.api

    	public abstract fun getContentLength ()J
    	public abstract fun writeTo (Lokio/BufferedSink;)V
    }
    
    public final class mockwebserver3/MockWebServer : java/io/Closeable {
    	public static final field Companion Lmockwebserver3/MockWebServer$Companion;
    	public fun <init> ()V
    	public fun close ()V
    	public final fun enqueue (Lmockwebserver3/MockResponse;)V
    	public final fun getBodyLimit ()J
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 03 21:59:45 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/DuplexTest.kt

    import java.util.concurrent.Executors
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.internal.duplex.MockStreamHandler
    import okhttp3.Credentials.basic
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.RequestBody.Companion.toRequestBody
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. samples/guide/build.gradle.kts

    plugins {
      kotlin("jvm")
      kotlin("kapt")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
      implementation(projects.okhttpTestingSupport)
      implementation(projects.okhttpTls)
      implementation(libs.animalsniffer.annotations)
      implementation(libs.squareup.moshi)
      implementation(libs.squareup.okio.fakefilesystem)
      kapt(libs.squareup.moshi.compiler)
    }
    
    java {
      toolchain {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Feb 21 19:52:48 UTC 2022
    - 531 bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/PushPromise.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.mockwebserver
    
    import okhttp3.Headers
    
    class PushPromise(
      @get:JvmName("method") val method: String,
      @get:JvmName("path") val path: String,
      @get:JvmName("headers") val headers: Headers,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. .github/renovate.json

        ":dependencyDashboard",
        "schedule:weekly"
      ],
      "labels": ["renovate"],
      "ignoreDeps": [
        "com.squareup.okhttp3:okhttp",
        "com.squareup.okhttp3:okhttp-tls",
        "com.squareup.okhttp3:mockwebserver"
      ],
      "packageRules": [
        {
          "matchPackagePatterns": [
            "biz.*"
          ],
          "groupName": "bnd"
        },
        {
          "matchPackagePatterns": [
            "org.graalvm.*"
          ],
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:18:31 UTC 2024
    - 956 bytes
    - Viewed (0)
Back to top