- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 744 for vals (0.14 sec)
-
okhttp/src/test/java/okhttp3/OkHttpClientTest.kt
server!!.enqueue(MockResponse(body = "abc")) ProxySelector.setDefault(null) val client = clientTestRule.newClient() val request = Request(server!!.url("/")) val response = client.newCall(request).execute() assertThat(response.body.string()).isEqualTo("abc") } @Test fun sslSocketFactorySetAsSocketFactory() { val builder = OkHttpClient.Builder() assertFailsWith<IllegalArgumentException> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 13.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt
@Timeout(30) @Tag("Slow") open class ConnectionListenerTest { @RegisterExtension val platform = PlatformRule() @RegisterExtension val clientTestRule = OkHttpClientTestRule() private var server: MockWebServer? = null private val listener = RecordingConnectionListener() private val handshakeCertificates = localhost() open val fastFallback: Boolean get() = true private var client: OkHttpClient =
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.6K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/RecordedRequest.kt
import okhttp3.TlsVersion import okio.Buffer class RecordedRequest { val requestLine: String val headers: Headers val chunkSizes: List<Int> val bodySize: Long val body: Buffer val sequenceNumber: Int val failure: IOException? val method: String? val path: String? val handshake: Handshake? val requestUrl: HttpUrl? @get:JvmName("-deprecated_utf8Body") @Deprecated(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt
* fills, it is doubled. */ @Suppress("NAME_SHADOWING") object Hpack { private const val PREFIX_4_BITS = 0x0f private const val PREFIX_5_BITS = 0x1f private const val PREFIX_6_BITS = 0x3f private const val PREFIX_7_BITS = 0x7f private const val SETTINGS_HEADER_TABLE_SIZE = 4_096 /** * The decoder has ultimate control of the maximum size of the dynamic table but we can choose
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 22.5K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
writer: DerWriter, value: Long, ) { val string = formatUtcTime(value) return writer.writeUtf8(string) } }, ) internal fun parseUtcTime(string: String): Long { val utc = TimeZone.getTimeZone("GMT") val dateFormat = SimpleDateFormat("yyMMddHHmmss'Z'").apply { timeZone = utc
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt
*/ class DnsOverHttps internal constructor( @get:JvmName("client") val client: OkHttpClient, @get:JvmName("url") val url: HttpUrl, @get:JvmName("includeIPv6") val includeIPv6: Boolean, @get:JvmName("post") val post: Boolean, @get:JvmName("resolvePrivateAddresses") val resolvePrivateAddresses: Boolean, @get:JvmName("resolvePublicAddresses") val resolvePublicAddresses: Boolean, ) : Dns { @Throws(UnknownHostException::class)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Oct 31 09:27:31 UTC 2024 - 9.8K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt
@ExperimentalOkHttpApi class RecordedRequest( val requestLine: String, /** All headers. */ val headers: Headers, /** * The sizes of the chunks of this request's body, or an empty list if the request's body * was empty or unchunked. */ val chunkSizes: List<Int>, /** The total size of the body of this POST request (before truncation).*/ val bodySize: Long,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.8K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/RunTests.kt
System.setProperty("junit.jupiter.extensions.autodetection.enabled", "true") val inputFile = if (args.isNotEmpty()) File(args[0]) else null val selectors = testSelectors(inputFile) val summaryListener = SummaryGeneratingListener() val treeListener = treeListener() val jupiterTestEngine = buildTestEngine() val config = LauncherConfig.builder() .enableTestExecutionListenerAutoRegistration(false)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 5.3K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/RecordedRequestTest.kt
} private class FakeSocket( private val localAddress: InetAddress, private val localPort: Int, private val remoteAddress: InetAddress = localAddress, private val remotePort: Int = 1234, ) : Socket() { override fun getInetAddress() = remoteAddress override fun getLocalAddress() = localAddress override fun getLocalPort() = localPort
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
callbacks.go
sql, vars := stmt.SQL.String(), stmt.Vars if filter, ok := db.Logger.(ParamsFilter); ok { sql, vars = filter.ParamsFilter(stmt.Context, stmt.SQL.String(), stmt.Vars...) } return db.Dialector.Explain(sql, vars...), db.RowsAffected }, db.Error) } if !stmt.DB.DryRun { stmt.SQL.Reset() stmt.Vars = nil } if resetBuildClauses {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 26 03:33:36 UTC 2024 - 8.6K bytes - Viewed (0)