flexrep.pullGetHttpOptions( pull as element(flexrep.pull) ) as element(flexrep.httpOptions)
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.
|
// 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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.