I can see why CBL_URLProtocol is a project-level implementation detail of CouchbaseLite framework. However, to take use of the listener I've come across cases where I would like to see a HTTP-schemed URLs for documents and views in the database, and would therefore like to use the CBL_URLProtocol's +HTTPURLForServerURL:
/** An alternate root URL with HTTP scheme; use this for CouchApps in UIWebViews.
(This URL will have the hostname of the cbl: URL with ".couchbase." appended.) */
+ (NSURL*) HTTPURLForServerURL: (NSURL*)serverURL;
I wonder if I'm doing something wrong though - is there another way to get a couchbase schemed or a HTTP schemed URLs for things?
(Sorry if the following is entirely misinformed)
I can see why CBL_URLProtocol is a project-level implementation detail of CouchbaseLite framework. However, to take use of the listener I've come across cases where I would like to see a HTTP-schemed URLs for documents and views in the database, and would therefore like to use the CBL_URLProtocol's +HTTPURLForServerURL:
I wonder if I'm doing something wrong though - is there another way to get a couchbase schemed or a HTTP schemed URLs for things?