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

I try to send a message after open the socket but nothing happened? Could anyone help on this ? Open the socket : ``` RetrofitHub.chatServices?.observeWebSocketEvent() ?.observeOn(AndroidSchedulers.mainThread()) ?.subscribeOn(Schedulers.io()) ?.subscribe({ Log.d("BKS-1", it.toString())...

I have multiple channels to listen, is there any way to change at runtime? > single { > Scarlet.Builder() > .webSocketFactory(get().newWebSocketFactory("https://stream.push.qa.globoi.com/ws/")) > .addMessageAdapterFactory(MoshiMessageAdapter.Factory()) > .addStreamAdapterFactory(RxJava2StreamAdapterFactory()) > .build() > } now...

Hey 👋, first of all, I would like to thank you for the work you've put into building this, and sharing with the community. -------------- I'm getting some trouble getting...

When we add implementation `` to gradle , that does not support `` and `` for use these what should we import??

For the 0.2.x branch, I installed this dependency according to the README.md: `implementation 'com.tinder.scarlet:scarlet:0.1.9'` Is that correct? What versions are the demo applications using? I can't use the same classes...

The current documentation for 0.2.x is obsolete. Some classes are not present anymore. Example `WebSocketEvent` .

While implementing Scarlet in our application I noticed that Scarlets' [SocketIoClient](https://github.com/Tinder/Scarlet/blob/0.2.x/scarlet-protocol-socketio-client/src/main/java/com/tinder/scarlet/socketio/client/SocketIoClient.kt#L119-L141) doesn't support the `JSONArray` type. When an event is received it only checks for `JSONObject`, `String` and `ByteArray`. Since...

Lifecycle module implement some other modules but not use it. For example I save 1mb just exclude all modules, which I don't use, but lifecycle implement. ``` exclude group: 'com.github.tinder.scarlet',...

if implement lifecycle-android , other packages like all the message-adapter,protocols will be added in the project.

Hi! Please update following dependencies : ``` moshi = 'com.squareup.moshi:moshi-kotlin:1.8.0' moshiCodeGen = 'com.squareup.moshi:moshi-kotlin-codegen:1.8.0' okHttp = 'com.squareup.okhttp3:okhttp:3.14.2' okHttpServerSentEvent = 'com.squareup.okhttp3:okhttp-sse:3.14.2' okHttpLoggingInterceptor = 'com.squareup.okhttp3:logging-interceptor:3.14.2' okio = 'com.squareup.okio:okio:1.17.4' mockWebServer = 'com.squareup.okhttp3:mockwebserver:3.14.2' ``` There's...