- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 412 for comparison (0.04 sec)
-
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
import java.io.IOException import java.net.Inet6Address import java.net.Socket import javax.net.ssl.SSLSocket import okhttp3.Handshake import okhttp3.Handshake.Companion.handshake import okhttp3.Headers import okhttp3.HttpUrl import okhttp3.HttpUrl.Companion.toHttpUrlOrNull import okhttp3.TlsVersion import okio.Buffer class RecordedRequest { val requestLine: String val headers: Headers val chunkSizes: List<Int>Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
* limitations under the License. */ package okhttp3.sse.internal import java.io.IOException import okhttp3.internal.toLongOrDefault import okio.Buffer import okio.BufferedSource import okio.ByteString.Companion.encodeUtf8 import okio.Options class ServerSentEventReader( private val source: BufferedSource, private val callback: Callback, ) { private var lastId: String? = null interface Callback {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 4.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/RealWebSocketTest.kt
import okhttp3.FailingCall import okhttp3.Headers import okhttp3.Headers.Companion.headersOf import okhttp3.Protocol import okhttp3.Request import okhttp3.Response import okhttp3.TestUtil.repeat import okhttp3.internal.concurrent.TaskFaker import okhttp3.internal.connection.BufferedSocket import okhttp3.internal.ws.WebSocketExtensions.Companion.parse import okio.BufferedSink import okio.BufferedSource
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 18.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Credentials.kt
* limitations under the License. */ package okhttp3 import java.nio.charset.Charset import kotlin.text.Charsets.ISO_8859_1 import okio.ByteString.Companion.encode /** Factory for HTTP authorization credentials. */ object Credentials { /** Returns an auth credential for the Basic scheme. */ @JvmStatic @JvmOverloads fun basic( username: String,Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CommonRequestBodyTest.kt
* 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" val requestBody = body.toRequestBody(MediaType("text/plain", "text", "plain", arrayOf()))Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealResponseBody.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http import okhttp3.MediaType import okhttp3.MediaType.Companion.toMediaTypeOrNull import okhttp3.ResponseBody import okio.BufferedSource class RealResponseBody( /** * Use a string to avoid parsing the content type until needed. This also defers problems caused
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 1.2K bytes - Viewed (0) -
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isTrue import java.io.IOException import java.util.concurrent.TimeUnit import kotlin.test.assertFailsWith import kotlin.time.Duration.Companion.seconds import kotlinx.coroutines.CancellationException import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.TimeoutCancellationException import kotlinx.coroutines.coroutineScope import kotlinx.coroutines.job
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 5.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/SanityCheck.kt
"-Dorg.gradle.java.installations.auto-download=false", "-Porg.gradle.java.installations.auto-download=false", ).joinToString(" "), ) }) { companion object { fun buildTypeId(model: CIBuildModel) = "${model.projectId}_SanityCheck" }Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Aug 25 20:21:47 UTC 2025 - 1.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/HeadersReader.kt
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.4K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
val DslContext.uuidPrefix: String get() = settingsRoot.id.toString().substringAfter("Gradle") data class VersionedSettingsBranch( val branchName: String, ) { companion object { private const val MASTER_BRANCH = "master" private const val RELEASE_BRANCH = "release" private const val EXPERIMENTAL_BRANCH = "xperimental"Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Mon Dec 29 08:57:18 UTC 2025 - 2.5K bytes - Viewed (0)