Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 75 for main (0.14 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

     * an existing external tool is required.
     *
     * See https://stackoverflow.com/questions/61929216/how-to-log-tlsv1-3-keys-in-jsse-for-wireshark-to-decode-traffic
     *
     * Steps to run in your own code
     *
     * 1. In your main method `WireSharkListenerFactory.register()`
     * 2. Create Listener factory `val eventListenerFactory = WireSharkListenerFactory(
    logFile = File("/tmp/key.log"), tlsVersions = tlsVersions, launch = launch)`
    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 (1)
  2. okhttp/src/test/java/okhttp3/AutobahnTester.kt

          },
        )
    
        check(latch.await(10, TimeUnit.SECONDS)) { "Timed out waiting for count." }
      }
    
      companion object {
        private const val HOST = "ws://localhost:9099"
    
        @JvmStatic fun main(args: Array<String>) {
          AutobahnTester().run()
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. gradle/wrapper/gradle-wrapper.jar

    synchronized class GradleUserHomeLookup { public static final String DEFAULT_GRADLE_USER_HOME; static void <clinit>(); } org/gradle/wrapper/GradleWrapperMain.class package org.gradle.wrapper; public synchronized class GradleWrapperMain { public static void main(String[]); } org/gradle/wrapper/Install$1.class package org.gradle.wrapper; public final synchronized class Install$1 implements java.util.concurrent.Callable { public void Install$1(java.io.File, java.io.File, java.net.URI, Install, WrapperConfiguration);...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

     * [oracle_providers]: https://docs.oracle.com/javase/10/security/oracle-providers.htm
     * [conscrypt_providers]: https://github.com/google/conscrypt/blob/master/common/src/main/java/org/conscrypt/NativeCrypto.java
     */
    class CipherSuite private constructor(
      /**
       * Returns the Java name of this cipher suite. For some older cipher suites the Java name has the
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  5. docs/changelogs/changelog_3x.md

     [conscrypt_dependency]: https://github.com/google/conscrypt/#download
     [grpc_http2]: https://github.com/grpc/grpc/blob/master/doc/PROTOCOL-HTTP2.md
     [https_server_sample]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/HttpsServer.java
     [jetty_8_252]: https://webtide.com/jetty-alpn-java-8u252/
     [junit_5_rules]: https://junit.org/junit5/docs/current/user-guide/#migrating-from-junit4-rulesupport
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_2x.md

        request concurrency.
    
     *  **Fix: Lazily initialize the response cache.** This avoids strict mode
        warnings when initializing OkHttp on Android‘s main thread.
    
     *  **Fix: Disable ALPN on Android 4.4.** That release of the feature was
        unstable and prone to native crashes in the underlying OpenSSL code.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  7. docs/recipes.md

     [AccessHeadersJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
     [AccessHeadersKotlin]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt
     [PostStringJava]: https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PostString.java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  8. okcurl/src/main/kotlin/okhttp3/curl/MainCommandLine.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.curl
    
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 728 bytes
    - Viewed (0)
  9. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

          ).createRequest()
        assertThat(request.header("If-Modified-Since")).isEqualTo(
          "Mon, 18 Aug 2014 15:16:06 GMT",
        )
      }
    
      companion object {
        fun fromArgs(vararg args: String): Main {
          return Main().apply {
            parse(args.toList())
          }
        }
    
        private fun bodyAsString(body: RequestBody?): String {
          return try {
            val buffer = Buffer()
            body!!.writeTo(buffer)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  10. samples/static-server/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("com.github.johnrengelman.shadow")
    }
    
    tasks.compileJava {
      options.isWarnings = false
    }
    
    tasks.jar {
      manifest {
        attributes("Main-Class" to "okhttp3.sample.SampleServer")
      }
    }
    
    dependencies {
      implementation(projects.mockwebserver)
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 08 20:01:28 GMT 2022
    - 316 bytes
    - Viewed (0)
Back to top