This function access globalOptions
object and be able to return the entire object
Example
import { getOptions } from 'prest-node';
const opts = getOptions('requestProtocol');
// opts.requestProtocol
This function set a property inside globalOptions
object
Example
import { setOption } from 'prest-node';
setOption('requestProtocol', 'https');
This function create a function that access a private object with PRest client options
This function create a function that acting as a getter for a private object
This function create a function that acting as a setter for a private object
Generated using TypeDoc
This function get a property inside
globalOptions
objectExample
import { getOptions } from 'prest-node'; const requestProtocol = getOptions('requestProtocol');