You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// BEGIN -- inclusion -- common-sgw-replication-cfg-tgt.adoc
2
+
// Used-by:
3
+
// common-p2psync-websocket-using-active.adoc
4
+
// common-sgw-replication.adoc
5
+
//
6
+
7
+
Use the
8
+
{url-api-class-replicator-config} class and {url-api-constructor-replicator-config-db-tgt} constructor to initialize the replication configuration with local and remote database locations.
9
+
10
+
The constructor provides:
11
+
12
+
* the name of the local database to be sync'd
13
+
* the server's URL (including the port number and the name of the remote database to sync with)
14
+
+
15
+
--
16
+
It is expected that the app will identify the IP address and URL and append the remote database name to the URL endpoint, producing for example: `wss://10.0.2.2:4984/travel-sample`
17
+
18
+
The URL scheme for web socket URLs uses `ws:` (non-TLS) or `wss:` (SSL/TLS) prefixes.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/_partials/commons/common-sgw-replication.adoc
+1-29Lines changed: 1 addition & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -112,36 +112,8 @@ In this section::
112
112
[#lbl-cfg-tgt]
113
113
=== Configure Target
114
114
115
-
Use the
116
-
{url-api-class-replicator-config} class and {url-api-constructor-replicator-config-db-tgt} constructor to initialize the replication configuration with local and remote database locations.
* the server's URL (including the port number and the name of the remote database to sync with)
122
-
+
123
-
--
124
-
It is expected that the app will identify the IP address and URL and append the remote database name to the URL endpoint, producing for example: `wss://10.0.2.2:4984/travel-sample`
125
-
126
-
The URL scheme for web socket URLs uses `ws:` (non-TLS) or `wss:` (SSL/TLS) prefixes.
0 commit comments