Scarlet icon indicating copy to clipboard operation
Scarlet copied to clipboard

A Retrofit inspired WebSocket client for Kotlin, Java, and Android

Results 107 Scarlet issues
Sort by recently updated
recently updated
newest added

如何保证websocket断了重新连接

I have Service like this : `public interface SocketService { @Send void send(String message); @Receive Flowable observerSocketMessage(); @Receive Flowable observerSocketString(); @Receive Flowable observeEvent(); }` The problem is **observerSocketMessage()** not work,...

From the server I receive multiple kinds of data, some are JSON, other are binaries that contain JSON inside a protobuf message. So, I would like to use both the...

I use your great library for SocketIO connection https://github.com/Tinder/Scarlet/tree/0.2.x, but I have some troubles with adding a header to Request via OkHttpClient.Builder - all of them are ignored ```kotlin val...

I tried to use scarlet (0.16 and 0.17) and I having an issue when proguard is enabled. Are there any specific rules for that?

Hi, my backend generates a wss:// url for me, **which however is a one time thing**, meaning upon connetion lost, I wont be able to reconnect, which is what Im...

Hy im using the 0.1.7 branch from Jitpack. Currently I have this code and the logs don't display the "socket send event" message. However I get the message from OkHttp...

Hi. I found a problem with reconnecting okhttp websockets on 0.1.7/0.2.3-alpha1. After several attempts the reconnection stops. I think I found a reason. We subscribe on socket event in Connection.open()....

Not sure if it's an appropriate place to ask this, but it's always reproducible with Scarlet. I created a simple empty proejct for Android in the latest Android Studio with...