- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 499 for fun (0.39 sec)
-
okhttp/src/test/java/okhttp3/ServerTruncatesRequestTest.kt
private lateinit var server: MockWebServer @BeforeEach fun setUp(server: MockWebServer) { this.server = server platform.assumeNotOpenJSSE() platform.assumeHttp2Support() } @Test fun serverTruncatesRequestOnLongPostHttp1() { serverTruncatesRequestOnLongPost(https = false) } @Test fun serverTruncatesRequestOnLongPostHttp2() { enableProtocol(Protocol.HTTP_2)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 9.5K bytes - Viewed (0) -
okhttp-android/api/okhttp-android.api
public fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;)V public synthetic fun <init> (Lokhttp3/AsyncDns$DnsClass;Landroid/net/Network;ILkotlin/jvm/internal/DefaultConstructorMarker;)V public fun query (Ljava/lang/String;Lokhttp3/AsyncDns$Callback;)V } public final class okhttp3/android/AndroidAsyncDns$Companion { public final fun getIPv4 ()Lokhttp3/android/AndroidAsyncDns;
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 11:07:32 GMT 2024 - 1.3K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt
internal val plansToCancel = CopyOnWriteArrayList<RoutePlanner.Plan>() override fun timeout(): Timeout = timeout @SuppressWarnings("CloneDoesntCallSuperClone") // We are a final type & this saves clearing state. override fun clone(): Call = RealCall(client, originalRequest, forWebSocket) override fun request(): Request = originalRequest /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 17.9K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/internal/idn/PunycodeTest.kt
) } @Test fun nonBasicCodePointInPrefix() { assertNull(Punycode.decode("xn--cåt-n3h")) } @Test fun nonBasicCodePointInInsertionCoding() { assertNull(Punycode.decode("xn--cat-ñ3h")) } @Test fun unterminatedCodePoint() { assertNull(Punycode.decode("xn--cat-n")) } @Test fun overflowI() { assertNull(Punycode.decode("xn--99999999"))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlTest.kt
fun hostnameMultipleCharacterMapping() { // Map the single character telephone symbol (℡) to the string "tel". assertThat(parse("http://\u2121").host).isEqualTo("tel") } @Test fun hostnameMappingLastMappedCodePoint() { assertThat(parse("http://\uD87E\uDE1D").host).isEqualTo("xn--pu5l") } // The java.net.IDN implementation doesn't ignore characters that it should. @Ignore @Test
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 67.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
} override fun cancel() { exchange.cancel() } } } override fun route(): Route = route override fun cancel() { // Close the raw socket so we don't end up doing synchronous I/O. rawSocket?.closeQuietly() } override fun socket(): Socket = socket!! /** Returns true if this connection is ready to host new streams. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 15.4K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RequestBodyTest.kt
import org.junit.jupiter.api.io.TempDir class RequestBodyTest { private lateinit var filePath: okio.Path @BeforeEach fun setup( @TempDir tempDir: Path, ) { filePath = tempDir.toOkioPath() / "file.txt" } @Test fun testFileDescriptor() { assertOnFileDescriptor { fd -> val requestBody = fd.toRequestBody() assertThat(requestBody.contentLength()).isEqualTo(-1L)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.6K bytes - Viewed (1) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
fun withExplicitBox( tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC, tag: Long, forceConstructed: Boolean? = null, ): BasicDerAdapter<T> { val codec = object : BasicDerAdapter.Codec<T> { override fun decode(reader: DerReader): T = fromDer(reader) override fun encode( writer: DerWriter, value: T,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/HttpUrlJvmTest.kt
} @Test fun fragmentNonAscii() { val url = "http://host/#Σ".toHttpUrl() assertThat(url.toUri().toString()).isEqualTo("http://host/#Σ") } @Test fun fragmentPercentEncodedNonAscii() { val url = "http://host/#%C2%80".toHttpUrl() assertThat(url.toUri().toString()).isEqualTo("http://host/#%C2%80") } @Test fun fragmentPercentEncodedPartialCodePoint() {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.9K bytes - Viewed (0) -
okcurl/src/main/kotlin/okhttp3/curl/Main.kt
var client: Call.Factory? = null override fun run() { LoggingUtil.configureLogging(debug = verbose, showHttp2Frames = showHttp2Frames, sslDebug = sslDebug) commonRun() } fun createRequest(): Request = commonCreateRequest() fun createClient(): Call.Factory { val builder = OkHttpClient.Builder() builder.followSslRedirects(followRedirects)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.7K bytes - Viewed (1)