Functions in Hype xAPI
HypeXAPI
HypeXAPI.changeConfig
1min
this function allows you to change the configuration settings for adl xapiwrapper you can use it to update the settings for your environment, such as the base url, logging, and other options to use this function, simply pass in an updated config object the object should contain the parameters you wish to update for example, to change the base url, you would include the "url" parameter once you have updated the config object, simply call the changeconfig function adl xapiwrapper will then update its settings accordingly here is an example of how to use the changeconfig function var config = { "url" "https //example com/xapi/" }; hypexapi changeconfig(config); this only forward the setting and can also be used directly as adl xapiwrapper changeconfig