- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 291 for ktlint (0.48 sec)
-
native-image-tests/build.gradle.kts
plugins { id("org.graalvm.buildtools.native") kotlin("jvm") } animalsniffer { isIgnoreFailures = true } // TODO reenable other tests // https://github.com/square/okhttp/issues/8901 //sourceSets { // test { // java.srcDirs( // "../okhttp-brotli/src/test/java", // "../okhttp-dnsoverhttps/src/test/java", // "../okhttp-logging-interceptor/src/test/java", // "../okhttp-sse/src/test/java", // )
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 22 20:31:49 UTC 2025 - 904 bytes - Viewed (0) -
okhttp/src/jvmMain/resources/META-INF/native-image/okhttp/okhttp/reflect-config.json
[ { "name": "kotlin.internal.jdk8.JDK8PlatformImplementations", "allDeclaredConstructors":true }, { "name": "kotlin.KotlinVersion", "allPublicMethods": true, "allDeclaredFields":true, "allDeclaredMethods":true, "allDeclaredConstructors":true }, { "name": "kotlin.KotlinVersion[]" }, { "name": "kotlin.KotlinVersion$Companion" }, {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 438 bytes - Viewed (0) -
README.md
then apps are responsible for calling `OkHttp.initialize(applicationContext)` in `Application.onCreate`. OkHttp depends on [Okio][okio] for high-performance I/O and the [Kotlin standard library][kotlin]. Both are small libraries with strong backward-compatibility. We highly recommend you keep OkHttp up-to-date. As with auto-updating web browsers, staying current
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 07:33:49 UTC 2025 - 8.8K bytes - Viewed (0) -
mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt
* the `@Rule` annotation: * * ```java * @Rule public final MockWebServerRule serverRule = new MockWebServerRule(); * ``` * * For Kotlin the `@JvmField` annotation is also necessary: * * ```kotlin * @JvmField @Rule val serverRule = MockWebServerRule() * ``` */ class MockWebServerRule : ExternalResource() { val server: MockWebServer = MockWebServer()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jun 16 22:36:18 UTC 2025 - 1.4K bytes - Viewed (0) -
okhttp-hpacktests/build.gradle.kts
plugins { kotlin("jvm") } dependencies { testImplementation(libs.squareup.okio) testImplementation(libs.squareup.moshi) testImplementation(libs.squareup.moshi.kotlin) testImplementation(projects.okhttp) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.mockwebserver) testImplementation(libs.junit)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 346 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/MediaTypeGetTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import kotlin.test.assertEquals import kotlin.test.assertFailsWith import okhttp3.MediaType.Companion.toMediaType open class MediaTypeGetTest : MediaTypeTest() { override fun parse(string: String): MediaType = string.toMediaType()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.1K bytes - Viewed (0) -
docs/features/https.md
=== ":material-language-kotlin: Kotlin" ```kotlin private val client = OkHttpClient.Builder() .certificatePinner( CertificatePinner.Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Dec 24 00:16:30 UTC 2022 - 10.5K bytes - Viewed (0) -
samples/tlssurvey/build.gradle.kts
plugins { kotlin("jvm") application id("com.google.devtools.ksp") } application { mainClass.set("okhttp3.survey.RunSurveyKt") } dependencies { implementation(projects.okhttp) implementation(projects.okhttpCoroutines) implementation(libs.conscrypt.openjdk) implementation(libs.retrofit) implementation(libs.converter.moshi) implementation(libs.squareup.moshi) implementation(libs.squareup.moshi.kotlin)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat May 17 05:15:32 UTC 2025 - 518 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/UtilTest.kt
import assertk.assertions.isFalse import assertk.assertions.isTrue import java.net.InetAddress import java.net.ServerSocket import java.net.Socket import java.util.concurrent.TimeUnit import kotlin.time.Duration.Companion.milliseconds import kotlin.time.Duration.Companion.nanoseconds import okio.buffer import okio.source import org.junit.jupiter.api.Test import org.junit.jupiter.api.assertThrows class UtilTest { @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt
val flags = buf.readShort().toInt() and 0xffff require(flags shr 15 != 0) { "not a response" } val responseCode = flags and 0xf if (responseCode == NXDOMAIN) { throw UnknownHostException("$hostname: NXDOMAIN") } else if (responseCode == SERVFAIL) { throw UnknownHostException("$hostname: SERVFAIL") } val questionCount = buf.readShort().toInt() and 0xffff
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3.9K bytes - Viewed (0)