Skip to content

Instantly share code, notes, and snippets.

View SheptunovaAA's full-sized avatar

Alena Zakharikova SheptunovaAA

View GitHub Profile
@SheptunovaAA
SheptunovaAA / MainActivity.kt
Created October 11, 2017 13:17
kotlin example of OKHttp3 WSS
/**
don't forget to add in app gradle:
compile 'com.squareup.retrofit2:retrofit:2.3.0'
and add INTERNET permission to AndroidManifest
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
...>
<uses-permission android:name="android.permission.INTERNET" />
<application... />
/>