MarkLogic Server 11.0 Product Documentation
flexrep.pullGetHttpOptions

flexrep.pullGetHttpOptions(
   pull as element(flexrep.pull)
) as element(flexrep.httpOptions)

Summary

This function returns the HTTP options associated with the specified pull configuration.

Parameters
pull The pull replication configuration returned by the flexrep:pull-get function.

Example

// Execute against a Replica database.
const flexrep = require('/MarkLogic/flexrep');

  const pullConfig = flexrep.pullGet(13991089731050213376, true);

  flexrep.pullGetHttpOptions(pullConfig);

  // Returns the HTTP options associated with the specified pull configuration.
   
Powered by MarkLogic Server | Terms of Use | Privacy Policy