Loading TOC...

MarkLogic 9 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.
   

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.