- Sort Score
- Result 10 results
- Languages All
Results 81 - 83 of 83 for mockResponse (0.04 sec)
-
okhttp-tls/README.md
.heldCertificate(serverCertificate) .build(); MockWebServer server = new MockWebServer(); server.useHttps(serverCertificates.sslSocketFactory(), false); server.requestClientAuth(); server.enqueue(new MockResponse()); // Create a client certificate and a client that uses it. HeldCertificate clientCertificate = new HeldCertificate.Builder() .commonName("ianmalcolm") .signedBy(rootCertificate) .build();
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 07 19:32:33 UTC 2025 - 9.1K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
exception the callback is now notified that the call was canceled. The exception is still sent to the uncaught exception handler for reporting and recovery. * Fix: Un-deprecate `MockResponse.setHeaders()` and other setters. These were deprecated in OkHttp 4.0 but that broke method chaining for Java callers. * Fix: Don't crash on HTTP/2 HEAD requests when the `Content-Length` header is present but is not
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0) -
docs/changelogs/changelog_3x.md
to permit an optional client certificate or `requireClientAuth()` to require one. * New: `RecordedRequest.getHandshake()` returns the HTTPS handshake of a request sent to `MockWebServer`. * Fix: Honor the `MockResponse` header delay in MockWebServer. * Fix: Don't release HTTP/2 connections that have multiple canceled calls. We had a bug where canceling calls would cause the shared HTTP/2 connection to be unnecessarily released. This
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0)