server/config/textSender.js
/**
 * 
 * @param {Express request} request 
 * @param {Object - Keys are text to look for, Values are response text messages and functions to fire off in response} textContentsHandlers 
 */
@param {Express request} request
@param {Object - Keys are text to look for, Values are response text messages and functions to fire off in response} textContentsHandlers
@param { Express request } request @param { Object - Keys are text to look for Values are response text messages and functions to fire off in response } textContentsHandlers
function processResponseTextMessage(responseText) {
    const msgRes = new MessagingResponse();
    msgRes.message(responseText);
    return {
        responseHeaders: {'Content-Type': 'text/xml'},
        responseBody: msgRes.toString()
    };
}
function processResponseTextMessage ( responseText ) { const msgRes = new MessagingResponse ( ) ; msgRes . message ( responseText ) ; return { responseHeaders : { 'Content-Type' : 'text/xml' } , responseBody : msgRes . toString ( ) } ; }
@param {Express request} request
 @param {Object - Keys are text to look for, Values are response text messages and functions to fire off in response} textContentsHandlers
@param { Express request } request @param { Object - Keys are text to look for Values are response text messages and functions to fire off in response } textContentsHandlers