com.malliina.logstreams.client
package com.malliina.logstreams.client
Type members
Classlikes
class CustomSSLSocketFactory(inner: SSLSocketFactory, sslParameters: SSLParameters) extends SSLSocketFactory
- Value Params
- inner
wrapped SSL socket factory
- sslParameters
SSL parameters, such as SNI settings
- See also
- Companion
- object
class SocketClient(val uri: FullUrl, socketFactory: SSLSocketFactory, headers: Seq[KeyValue], connectTimeout: FiniteDuration) extends Closeable
A WebSocket client.
A WebSocket client.
Creating an instance of this class will open and maintain a WebSocket to uri
.
Supports automatic reconnections. Calling close()
will close any open resources
and cancel future reconnections, after which this instance must no longer be used.
- Companion
- object
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