Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 686 for square (0.25 sec)

  1. README.md

     [okhttp]: https://square.github.io/okhttp/
     [okio]: https://github.com/square/okio
     [post_example]: https://raw.github.com/square/okhttp/master/samples/guide/src/main/java/okhttp3/guide/PostExample.java
     [r8_proguard]: https://square.github.io/okhttp/features/r8_proguard/
     [recipes]: https://square.github.io/okhttp/recipes/
     [snap]: https://s01.oss.sonatype.org/content/repositories/snapshots/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.bar.square.com"))
          .isEqualTo("bar.square.com")
        assertThat(publicSuffixDatabase.getEffectiveTldPlusOne("foo.my.square.com"))
          .isEqualTo("foo.my.square.com")
      }
    
      @Test fun wildcardMatch() {
        val buffer =
          Buffer()
            .writeUtf8("*.square.com\n")
            .writeUtf8("com\n")
            .writeUtf8("example.com\n")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/RequestTest.kt

      fun nullRemovesTag() {
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag("a")
            .tag(null)
            .build()
        assertThat(request.tag()).isNull()
      }
    
      @Test
      fun removeAbsentTag() {
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag(null)
            .build()
        assertThat(request.tag()).isNull()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  4. build.gradle.kts

              }
            }
            scm {
              connection.set("scm:git:https://github.com/square/okhttp.git")
              developerConnection.set("scm:git:ssh://******@****.***/square/okhttp.git")
              url.set("https://github.com/square/okhttp")
            }
            developers {
              developer {
                name.set("Square, Inc.")
              }
            }
          }
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HeadersRequestTest.kt

          Request.Builder()
            .url("http://square.com/")
            .header("Connection", "upgrade")
            .header("Upgrade", "websocket")
            .header("Host", "square.com")
            .header("TE", "gzip")
            .build()
        val expected =
          headerEntries(
            ":method",
            "GET",
            ":path",
            "/",
            ":authority",
            "square.com",
            ":scheme",
            "http",
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

     [okio.FileSystem]: https://square.github.io/okio/file_system/
     [okio_2_6_0]: https://square.github.io/okio/changelog/#version-260
     [okio_2_7_0]: https://square.github.io/okio/changelog/#version-270
     [okio_3_0_0]: https://square.github.io/okio/changelog/#version-300
     [okio_3_2_0]: https://square.github.io/okio/changelog/#version-320
     [okio_3_6_0]: https://square.github.io/okio/changelog/#version-360
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RequestCommonTest.kt

      fun nullRemovesTag() {
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag("a" as Any)
            .tag(null)
            .build()
        assertThat(request.tag<Any>()).isNull()
      }
    
      @Test
      fun removeAbsentTag() {
        val request =
          Request.Builder()
            .url("https://square.com")
            .tag(null)
            .build()
        assertThat(request.tag<String>()).isNull()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. docs/features/r8_proguard.md

    also need rules from [Okio][okio] which is a dependency of this library.
    
     [okhttp3_pro]: https://raw.githubusercontent.com/square/okhttp/master/okhttp/src/main/resources/META-INF/proguard/okhttp3.pro
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 607 bytes
    - Viewed (0)
  9. samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.sample;
    
    import com.squareup.moshi.JsonAdapter;
    import com.squareup.moshi.Moshi;
    import com.squareup.moshi.Types;
    import java.util.Collections;
    import java.util.List;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.ResponseBody;
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt

        assertThat("https://127.0.0.1".toHttpUrl().topPrivateDomain()).isNull()
    
        // https://github.com/square/okhttp/issues/6109
        assertThat("http://a./".toHttpUrl().topPrivateDomain()).isNull()
        assertThat("http://squareup.com./".toHttpUrl().topPrivateDomain())
          .isEqualTo("squareup.com")
      }
    
      @Test
      fun fragmentNonAscii() {
        val url = "http://host/#Σ".toHttpUrl()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.9K bytes
    - Viewed (0)
Back to top