Doh! I see the code from *Pro Couchbase Server* is remarkably similar to the code here <http://developer.couchbase.com/mobile/develop/guides/couchbase-lite/native-api/replication/index.html#creating> .
Also, I see from the Couchbase Mobile documentation that the remote Couchbase server can employ https and this seems to be mandatory if wanting to use Basic Authentication in a secure manner. -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/ce904de9-3636-41ec-853b-c9fc331220c8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
