Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 291 for ktlint (0.03 sec)

  1. okhttp-urlconnection/README.md

    OkHttp URLConnection
    ====================
    
    This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`.
    
    This module is obsolete; prefer `okhttp-java-net-cookiejar`.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-urlconnection:5.1.0")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 292 bytes
    - Viewed (0)
  2. samples/static-server/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("com.gradleup.shadow")
    }
    
    tasks.compileJava {
      options.isWarnings = false
    }
    
    tasks.jar {
      manifest {
        attributes("Main-Class" to "okhttp3.sample.SampleServer")
      }
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.mockwebserver)
    }
    
    tasks.shadowJar {
      mergeServiceFiles()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat May 17 05:15:23 UTC 2025
    - 338 bytes
    - Viewed (0)
  3. samples/compare/build.gradle.kts

    plugins {
      kotlin("jvm")
    }
    
    dependencies {
      testImplementation(projects.okhttp)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
      testImplementation(projects.okhttpTls)
      testImplementation(projects.okhttpTestingSupport)
      testImplementation(libs.httpClient5)
      testImplementation(libs.jettyClient)
      testImplementation(libs.junit)
      testImplementation(libs.assertk)
    }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 473 bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

     * limitations under the License.
     */
    package okhttp3.internal.publicsuffix
    
    import java.util.SortedSet
    import java.util.TreeSet
    import kotlinx.coroutines.Dispatchers
    import kotlinx.coroutines.withContext
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.coroutines.executeAsync
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt

      ) {
        withLock {
          if (closed) throw IOException("closed")
          hpackWriter.writeHeaders(requestHeaders)
    
          val byteCount = hpackBuffer.size
          val length = minOf(maxFrameSize - 4L, byteCount).toInt()
          frameHeader(
            streamId = streamId,
            length = length + 4,
            type = TYPE_PUSH_PROMISE,
            flags = if (byteCount == length.toLong()) FLAG_END_HEADERS else 0,
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 23:28:25 UTC 2025
    - 11K bytes
    - Viewed (0)
  6. okhttp-java-net-cookiejar/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.java.net.cookiejar",
      "Automatic-Module-Name: okhttp3.java.net.cookiejar",
      "Bundle-SymbolicName: com.squareup.okhttp3.java.net.cookiejar"
    )
    
    dependencies {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 14 00:51:50 UTC 2025
    - 594 bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.logging",
      "Automatic-Module-Name: okhttp3.logging",
      "Bundle-SymbolicName: com.squareup.okhttp3.logging"
    )
    
    dependencies {
      "friendsApi"(projects.okhttp)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 14 00:51:50 UTC 2025
    - 775 bytes
    - Viewed (0)
  8. mockwebserver-junit4/README.md

    ```
    
    The `serverRule` field has a `server` field. It is an instance of `MockWebServer`. That instance
    will be shut down automatically after the test runs.
    
    For Kotlin, the `@JvmField` annotation is also necessary:
    
    ```
    @JvmField @Rule val serverRule = MockWebServerRule()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 706 bytes
    - Viewed (0)
  9. 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 com.github.ajalt.clikt.core.main
    import kotlin.system.exitProcess
    
    fun main(args: Array<String>) {
      Main().main(args)
      exitProcess(0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Dec 21 08:56:29 UTC 2024
    - 768 bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CommonRequestBodyTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import kotlin.test.Test
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class CommonRequestBodyTest {
      @Test
      fun correctContentType() {
        val body = "Body"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top