use of okio.BufferedSink in project java by kubernetes-client.
the class ProgressRequestBody method writeTo.
@Override
public void writeTo(BufferedSink sink) throws IOException {
BufferedSink bufferedSink = Okio.buffer(sink(sink));
requestBody.writeTo(bufferedSink);
bufferedSink.flush();
}
Aggregations