In okhttp interceptor code, is it possible, after a call was cancelled, to read whatever partial response data might have been returned by the server? ...
In okhttp interceptor code, is it possible, after a call was cancelled, to read whatever partial response data might have been returned by the server? ...
I wanted to include into my app (Kotlin Multiplatform Mobile) iOS + Android a .json file to be parsed and saved into Realm DB on the first launch usin ...
I am trying to generate a Bitmap from an Okio source using this implementation Thing is, the resulting bitmap is null and I get the following logs ...
My team is suffering from this issue with slack integration to upload files, so following the comments in that issue I would like to throttle the requ ...
I am attempting to use okhttp-3.12.0 and okio-1.9.0 in my JAVA project to make POST call to a web service. I am able to successfully create the recor ...
I read the following blog: https://medium.com/@jerzy.chalupski/a-closer-look-at-the-okio-library-90336e37261 It is said that" the Sinks and Sources a ...
My problem is if the buffer is split, I want to make it contagious. In java, I used FileChannel for this purpose. ...
I am trying to make a simple Java program to upload a bunch of images I have to imgur. But I am running into problem after problem and cannot just get ...
I'm getting this build error: Cannot inline bytecode built with JVM target 1.8 into bytecode that is being built with JVM target 1.6. Please speci ...
How to implement seek() function in BufferSink (or BufferedSource) in OKHttp? We all know that in Java, the RandomAccessFile class has a method seek( ...
I'm trying to consume a file upload API that requires the file to be uploaded in chunks of a size in bytes that it specifies from a previous API call. ...
Is it possible to roll back the current IO operation incase of any exceptions during writing? I'm trying to write a UTF-8 string to a file with Okio l ...
I want to cancel downloaded File with Okio ,it runs in AsyncTaks When I cancel Asynctask downloadedFilerunTask.cancel() I can get rid of downlaoding p ...
I had 3 line code to get body from OkHttp3 source: on another computer I get error: "Using 'buffer(Source): BufferedSource' is an error. moved to e ...
I'm using Okio to download a file....with my request i'm sending some parameters, but since I wasn't getting my file and I was able to log my request ...
I'm downloading a file using a Retrofit2 implementation of a REST API, per the nice tutorial at https://futurestud.io/tutorials/retrofit-2-how-to-down ...
When using the OkHttp Websocket the listener uses a ByteString to provide the binary payload to the application. I want to feed these bytes into some ...
I am trying to find elegant way to convert OutputStream produced by bitmap.compress(Bitmap.CompressFormat.PNG, 100, outStream) method to Okio's Source ...
Can I use Okio and/or OkHTTP to decode a packet read from ParcelFileDescriptor ? I'm trying to write a VpnService based ad-blocker on android. I've ...
I get this following error when I'm trying to make a HTTP call with okhttp: I was only able to find this related issue: https://github.com/square/o ...