Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 209 for Sink (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top