Class CBLWebSocket
- java.lang.Object
-
- com.couchbase.lite.internal.core.C4NativePeer
-
- com.couchbase.lite.internal.core.C4Socket
-
- com.couchbase.lite.internal.replicator.AbstractCBLWebSocket
-
- com.couchbase.lite.internal.replicator.CBLWebSocket
-
- All Implemented Interfaces:
AutoCloseable
public class CBLWebSocket extends AbstractCBLWebSocket
-
-
Field Summary
-
Fields inherited from class com.couchbase.lite.internal.replicator.AbstractCBLWebSocket
DEFAULT_HEARTBEAT_SEC
-
Fields inherited from class com.couchbase.lite.internal.core.C4Socket
NO_FRAMING, WEB_SOCKET_CLIENT_FRAMING, WEB_SOCKET_SERVER_FRAMING
-
-
Constructor Summary
Constructors Constructor Description CBLWebSocket(long peer, URI uri, byte[] opts, CBLCookieStore cookieStore, Fn.Consumer<List<Certificate>> serverCertsListener)
-
Method Summary
-
Methods inherited from class com.couchbase.lite.internal.replicator.AbstractCBLWebSocket
addKeyManager, close, getOkHttpSocketFactory, getOptions, toString
-
-
-
-
Constructor Detail
-
CBLWebSocket
public CBLWebSocket(long peer, @NonNull URI uri, @Nullable byte[] opts, @NonNull CBLCookieStore cookieStore, @NonNull Fn.Consumer<List<Certificate>> serverCertsListener) throws GeneralSecurityException
- Throws:
GeneralSecurityException
-
-