com.pubnub.internal.services.SubscribeService.kt Maven / Gradle / Ivy
package com.pubnub.internal.services
import com.pubnub.internal.models.server.SubscribeEnvelope
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.QueryMap
internal interface SubscribeService {
@GET("v2/subscribe/{subKey}/{channel}/0")
fun subscribe(
@Path("subKey") subKey: String,
@Path("channel") channel: String,
@QueryMap options: Map,
): Call
}