Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dependencies for SSE
dependencies {
implementation 'androidx.core:core-ktx:1.7.0'
implementation 'androidx.appcompat:appcompat:1.4.1'
implementation 'com.google.android.material:material:1.5.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
// Okhttp
implementation "com.squareup.okhttp3:okhttp:4.9.3"
// Server Sent Events
implementation "com.squareup.okhttp3:okhttp-sse:4.9.3"
testImplementation "com.squareup.okhttp3:okhttp-sse:4.9.3"
// Coroutines
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.0'
implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.4.1"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment