Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for COMPLETE (0.14 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

       * This is potentially useful for posting live event streams like video capture. Callers should
       * write to {@code sink()} and close it to complete the post.
       */
      static final class PipeBody extends RequestBody {
        private final Pipe pipe = new Pipe(8192);
        private final BufferedSink sink = Okio.buffer(pipe.sink());
    
        public BufferedSink sink() {
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 03:18:15 GMT 2018
    - 3.1K bytes
    - Viewed (0)
Back to top