- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 209 for Sink (0.13 sec)
-
samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java
return delegate.contentLength(); } @Override public void writeTo(BufferedSink sink) throws IOException { BufferedSink bufferedSink = Okio.buffer(sink(sink)); delegate.writeTo(bufferedSink); bufferedSink.flush(); } public Sink sink(Sink sink) { return new ForwardingSink(sink) { private long totalBytesWritten = 0L; private boolean completed = false;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 4.2K bytes - Viewed (1) -
docs/recipes.md
} @Override public void writeTo(BufferedSink sink) throws IOException { BufferedSink bufferedSink = Okio.buffer(sink(sink)); delegate.writeTo(bufferedSink); bufferedSink.flush(); } public Sink sink(Sink sink) { return new ForwardingSink(sink) { private long totalBytesWritten = 0L;Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 47.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
.post( object : RequestBody() { override fun contentType() = null override fun writeTo(sink: BufferedSink) { for (i in 0..9) { sink.writeByte(0) sink.flush() sleep(100) } fail("Expected connection to be closed") } },
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:30:11 UTC 2025 - 6.1K bytes - Viewed (0) -
okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt
) val asyncRequestBody: RequestBody = object : RequestBody() { override fun contentType(): MediaType? = null override fun writeTo(sink: BufferedSink) { sink.writeUtf8("Hello request!") sink.close() } override fun isDuplex(): Boolean = true } val request = request() .post(asyncRequestBody)Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 37.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt
@Throws(IOException::class) override fun contentLength(): Long = delegate.contentLength() @Throws(IOException::class) override fun writeTo(sink: BufferedSink) { val forwardingSink = object : ForwardingSink(sink) { private var totalBytesWritten: Long = 0 private var completed = false override fun write( source: Buffer,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 17:01:12 UTC 2025 - 3.8K bytes - Viewed (0) -
docs/pt/docs/help-fastapi.md
Vocรช pode: * <a href="https://github.com/tiangolo" class="external-link" target="_blank">Me siga no **GitHub**</a>. * Ver tambรฉm outros projetos Open Source criados por mim que podem te ajudar. * Me seguir para saber quando um novo projeto Open Source for criado.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 8.4K bytes - Viewed (0) -
docs/em/docs/help-fastapi.md
## ๐ โฎ๏ธ ๐ ๐ ๐ช ๐ โฎ๏ธ <a href="https://tiangolo.com" class="external-link" target="_blank">๐ค (๐น๐ฆ ๐ฉ๐ฌ / `tiangolo`)</a>, ๐. ๐ ๐ช: * <a href="https://github.com/tiangolo" class="external-link" target="_blank">โฉ ๐ค ๐ **๐**</a>. * ๐ ๐ ๐ โน ๐ ๐ค โ๏ธ โ ๐ ๐ช โน ๐. * โฉ ๐ค ๐ ๐โ ๐ค โ ๐ ๐ โน ๐.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 11.6K bytes - Viewed (0) -
docs/ja/docs/help-fastapi.md
## ้็บ่ ใจใคใชใใ ไปฅไธใงใ<a href="https://tiangolo.com" class="external-link" target="_blank">้็บ่ (Sebastiรกn Ramรญrez / `tiangolo`)</a> ใจใณใณใฟใฏใใใจใใพใ: * <a href="https://github.com/tiangolo" class="external-link" target="_blank">**GitHub** ใงใใฉใญใผ</a>ใ * ไปใฎใชใผใใณใฝใผในใใญใธใงใฏใใ็ขบ่ชใงใใพใใไฝใใฎๅฉใใซใชใใใฎใ่ฆใคใใใใใใใพใใใ * ๆฐใใชใชใผใใณใฝใผในใใญใธใงใฏใใไฝๆใใใจใใซ้็ฅใใใพใใ * <a href="https://x.com/tiangolo" class="external-link" target="_blank">**X (Twitter)** ใงใใฉใญใผ</a>ใ
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 5.9K bytes - Viewed (0) -
docs/ko/docs/help-fastapi.md
## ๊ฐ๋ฐ์์์ ์ฐ๊ฒฐ <a href="https://tiangolo.com" class="external-link" target="_blank">๊ฐ๋ฐ์(Sebastiรกn Ramรญrez / `tiangolo`)</a>์ ์ฐ๋ฝ์ ์ทจํ ์ ์์ต๋๋ค. ์ฌ๋ฌ๋ถ์ ํ ์ ์์ต๋๋ค: * <a href="https://github.com/tiangolo" class="external-link" target="_blank">**GitHub**์์ ํ๋ก์ฐํ๊ธฐ.</a>. * ๋น์ ์๊ฒ ๋์์ด ๋ ์ ์ ๋ค๋ฅธ ์คํ์์ค ํ๋ก์ ํธ๋ฅผ ํ์ธํ์ญ์์ค. * ์๋ก์ด ์คํ์์ค ํ๋ก์ ํธ๋ฅผ ๋ง๋ค์์ ๋ ํ์ธํ๋ ค๋ฉด ํ๋ก์ฐ ํ์ญ์์ค.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 16.3K bytes - Viewed (0) -
docs/en/docs/alternatives.md
* <a href="https://github.com/tiangolo/full-stack" class="external-link" target="_blank">https://github.com/tiangolo/full-stack</a> * <a href="https://github.com/tiangolo/full-stack-flask-couchbase" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-flask-couchbase</a> * <a href="https://github.com/tiangolo/full-stack-flask-couchdb" class="external-link" target="_blank">https://github.com/tiangolo/full-stack-flask-couchdb</a>
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 23.6K bytes - Viewed (0)