WebSocketIO

class WebSocketIO(val url: FullUrl, headers: Map[String, String], client: OkHttpClient, topic: Topic[[A] =>> IO[A], SocketEvent], interrupter: SignallingRef[[A] =>> IO[A], Boolean])(implicit val cs: ContextShift[[A] =>> IO[A]], c: Concurrent[[A] =>> IO[A]], t: Timer[[A] =>> IO[A]]) extends Closeable
Companion
object
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any

Value members

Concrete methods

def close(): Unit
def requestFor(url: FullUrl, headers: Map[String, String]): Builder
def send(message: String): Boolean

Concrete fields

val connect: IO[WebSocket]
val events: Stream[[A] =>> IO[A], SocketEvent]
val messages: Stream[[A] =>> IO[A], String]
val request: Request
val untilFailure: Stream[[A] =>> IO[A], SocketEvent]
val url: FullUrl

Implicits

Implicits

implicit val cs: ContextShift[[A] =>> IO[A]]