Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 140 for robust (0.06 seconds)

  1. module-tests/src/main/java/okhttp3/modules/Main.java

    import okhttp3.HttpUrl;
    
    import java.io.IOException;
    
    public class Main {
      public static void main(String[] args) throws IOException {
        Call call = OkHttpCaller.callOkHttp(HttpUrl.get("https://square.com/robots.txt"));
    
        System.out.println(call.execute().body().string());
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Sep 21 06:22:22 GMT 2025
    - 934 bytes
    - Click Count (0)
  2. internal/s3select/sql/jsondata/books.json

            },
            {
                "year": 2011,
                "publisher": "Harper Collins",
                "type": "Paperback",
                "pages": 265
            }
        ]
    }
    {
        "title": "The Robots of Dawn",
        "authorInfo": {
            "name": "Isaac Asimov",
            "yearRange": [1920, 1992],
            "penName": "Paul French"
        },
        "genre": "Science fiction",
        "publicationHistory": [
            {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  3. android-test-app/src/androidTest/kotlin/okhttp/android/testapp/PublicSuffixDatabaseTest.kt

     */
    class PublicSuffixDatabaseTest {
      @Test
      fun testTopLevelDomain() {
        assertThat("https://www.google.com/robots.txt".toHttpUrl().topPrivateDomain()).isEqualTo("google.com")
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1K bytes
    - Click Count (0)
  4. regression-test/src/androidTest/java/okhttp/regression/compare/OkHttpClientTest.java

    @RunWith(AndroidJUnit4.class)
    public class OkHttpClientTest {
      @Test public void get() throws IOException {
        OkHttpClient client = new OkHttpClient();
        Request request = new Request.Builder()
            .url("https://google.com/robots.txt")
            .build();
        try (Response response = client.newCall(request).execute()) {
          assertEquals(200, response.code());
          assertEquals(Protocol.HTTP_2, response.protocol());
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 14 17:38:22 GMT 2020
    - 1.4K bytes
    - Click Count (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/CertificatePinning.kt

              .build(),
          ).build()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://publicobject.com/robots.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java

    import java.util.ListIterator;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code ForwardingListIterator}.
     *
     * @author Robert Konigsberg
     */
    @NullUnmarked
    public class ForwardingListIteratorTest extends TestCase {
    
      @SuppressWarnings("rawtypes")
      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  7. native-image-tests/src/test/kotlin/okhttp3/nativeimage/SampleTest.kt

        client.newCall(Request(url = server.url("/"))).execute().use {
          assertThat(it.body.string()).isEqualTo("abc")
        }
      }
    
      @Test
      fun testExternalSite() {
        client.newCall(Request(url = "https://google.com/robots.txt".toHttpUrl())).execute().use {
          assertThat(it.code).isEqualTo(200)
        }
      }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Jul 22 20:31:49 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/DevServer.kt

          useHttps(handshakeCertificates.sslSocketFactory(), false)
    
          enqueue(
            MockResponse()
              .setResponseCode(HTTP_MOVED_TEMP)
              .setHeader("Location", "https://www.google.com/robots.txt"),
          )
        }
    
      val clientCertificates =
        HandshakeCertificates
          .Builder()
          .addPlatformTrustedCertificates()
          .addInsecureHost(server.hostName)
          .build()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  9. samples/guide/src/main/java/okhttp3/recipes/CertificatePinning.java

                  .build())
          .build();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          if (!response.isSuccessful()) throw new IOException("Unexpected code " + response);
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Dec 08 21:30:01 GMT 2019
    - 1.7K bytes
    - Click Count (0)
  10. docs/pt/docs/advanced/websockets.md

    Se você precisa de algo fácil de integrar com o FastAPI, mas que seja mais robusto, suportado por Redis, PostgreSQL ou outros, verifique o <a href="https://github.com/encode/broadcaster" class="external-link" target="_blank">encode/broadcaster</a>.
    
    ///
    
    ## Mais informações { #more-info }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 6K bytes
    - Click Count (0)
Back to Top