Skip to content

Commit 4b9fbb1

Browse files
authored
Update Socket constructor to accept Map insted of Payload (#73)
1 parent 4dfdd0a commit 4b9fbb1

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/org/phoenixframework

1 file changed

+1
-1
lines changed

src/main/kotlin/org/phoenixframework/Socket.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ const val WS_CLOSE_ABNORMAL = 1006
8484
*/
8585
class Socket(
8686
url: String,
87-
params: Payload? = null,
87+
params: Map<String, Any>? = null,
8888
private val gson: Gson = Defaults.gson,
8989
private val client: OkHttpClient = OkHttpClient.Builder().build()
9090
) {

0 commit comments

Comments
 (0)