Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 196 for com (0.17 sec)

  1. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/UserAgentCapabilities.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.survey.ssllabs
    
    import com.squareup.moshi.JsonClass
    
    @JsonClass(generateAdapter = true)
    class UserAgentCapabilities(
      val abortsOnUnrecognizedName: Boolean,
      val alpnProtocols: List<String>,
      val ellipticCurves: List<Int>,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

              // 1 MiB.
              maxSize = 10L * 1024L * 1024L,
            ),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build()
    
        val response1Body =
          client.newCall(request).execute().use {
            if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (2)
  3. samples/unixdomainsockets/src/main/java/okhttp3/unixdomainsockets/ClientAndServer.java

            .protocols(Collections.singletonList(Protocol.H2_PRIOR_KNOWLEDGE))
            .build();
    
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
            .build();
    
        try (Response response = client.newCall(request).execute()) {
          System.out.println(response.body().string());
        }
    
        server.shutdown();
        socketFile.delete();
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Dec 24 03:46:30 GMT 2018
    - 2.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/InsecureForHostTest.kt

      }
    
      @Test fun `bad certificates host in insecureHosts fails with SSLException`() {
        val heldCertificate =
          HeldCertificate.Builder()
            .addSubjectAlternativeName("example.com")
            .build()
        val serverCertificates =
          HandshakeCertificates.Builder()
            .heldCertificate(heldCertificate)
            .build()
        server.useHttps(serverCertificates.sslSocketFactory())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. docs/contribute/debug_logging.md

    [2020-01-01 00:00:00] Q10001 scheduled after   0 µs: OkHttp squareup.com applyAndAckSettings
    [2020-01-01 00:00:00] Q10001 starting              : OkHttp squareup.com applyAndAckSettings
    [2020-01-01 00:00:00] Q10003 scheduled after   0 µs: OkHttp squareup.com onSettings
    [2020-01-01 00:00:00] Q10003 starting              : OkHttp squareup.com onSettings
    [2020-01-01 00:00:00] Q10001 finished run in   3 ms: OkHttp squareup.com applyAndAckSettings
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  6. build.gradle.kts

    @file:Suppress("UnstableApiUsage")
    
    import com.diffplug.gradle.spotless.SpotlessExtension
    import com.vanniktech.maven.publish.MavenPublishBaseExtension
    import com.vanniktech.maven.publish.SonatypeHost
    import java.net.URI
    import kotlinx.validation.ApiValidationExtension
    import org.gradle.api.tasks.testing.logging.TestExceptionFormat
    import org.jetbrains.dokka.gradle.DokkaTaskPartial
    import org.jetbrains.kotlin.gradle.dsl.kotlinExtension
    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)
  7. 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)
  8. docs/contribute/code_of_conduct.md

    
    [codeofconduct_at]: mailto:codeofconduct@squareup.com
    [twitter_coc]: https://github.com/twitter/code-of-conduct/blob/master/code-of-conduct.md
    [ubuntu_coc]: https://ubuntu.com/community/code-of-conduct
    [gdc_coc]: https://www.gdconf.com/code-of-conduct
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

      println("Time: ${time.toDouble() / 1000} seconds\n")
    }
    
    fun main() {
      Security.insertProviderAt(OpenSSLProvider(), 1)
      var bootstrapClient = OkHttpClient()
      var names = listOf("google.com", "graph.facebook.com", "sdflkhfsdlkjdf.ee")
      try {
        println("uncached\n********\n")
        var dnsProviders =
          providers(
            client = bootstrapClient,
            http2Only = false,
            workingOnly = false,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

        "EEE dd MMM yy HH:mm:ss z",
        "EEE,dd-MMM-yy HH:mm:ss z",
        "EEE,dd-MMM-yyyy HH:mm:ss z",
        "EEE, dd-MM-yyyy HH:mm:ss z",
        // RI bug 6641315 claims a cookie of this format was once served by www.yahoo.com:
        "EEE MMM d yyyy HH:mm:ss z",
      )
    
    private val BROWSER_COMPATIBLE_DATE_FORMATS =
      arrayOfNulls<DateFormat>(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS.size)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top