- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for pastie (0.2 sec)
-
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
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 { fun onEvent( id: String?, type: String?, data: String, ) fun onRetryChange(timeMs: Long) } /**
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.3K bytes - Viewed (0) -
mockwebserver/README.md
then verify that requests were made as expected. Because it exercises your full HTTP stack, you can be confident that you're testing everything. You can even copy & paste HTTP responses from your real web server to create representative test cases. Or test that your code survives in awkward-to-reproduce situations like 500 errors or slow-loading responses. ### Example
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Dec 17 15:34:10 GMT 2023 - 5K bytes - Viewed (1) -
docs/contribute/debug_logging.md
Debug Logging ============= OkHttp has internal APIs to enable debug logging. It uses the `java.util.logging` API which can be tricky to configure. As a shortcut, you can paste [OkHttpDebugLogging.kt]. Then enable debug logging for whichever features you need: ``` OkHttpDebugLogging.enableHttp2() OkHttpDebugLogging.enableTaskRunner() ``` ### Activating on Android ``` $ adb shell setprop log.tag.okhttp.Http2 DEBUG
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 16:35:36 GMT 2022 - 2.7K bytes - Viewed (0) -
docs/security/security_providers.md
| [GraalVM] | ✅ | | [OpenJDK] | Only actively tested with JDK 11, not with 8 target | | [Bouncy Castle] | ✅ | | [Bouncy Castle] | [Tracking bug.][bug5698] | | [Conscrypt] | ✅ | ✅ | [BoringSSL] | Activated if Conscrypt is first registered provider. |
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 1.7K bytes - Viewed (0)