There is 2 ways to accomplish redirecting to another URL from within a channel.
2 ways to do this:
Using html metadata:
qie.postMessageResponse('<html><meta http-equiv="refresh" content="0; url=
https://www.qvera.com"/></html>');
Using html header status.
var response = 'HTTP Status: 303 \r\n' +
'httpHeader: Location: ' + redirectUrl + '\r\n';
qie.postMessageResponse(response);