com.malliina.logstreams.client
package com.malliina.logstreams.client
Type members
Classlikes
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