proxy - actionHero.js Set Http Header -


i want know if there way set http.header in actionhero.js: in our server working actionhero.js , go. need send on "header" 2 domain name "client domain & mine(actionhero service)" go service. or if there other way on proxy server

thank in advance

assuming mean response header client, in actions or initializers can do:

data.connection.rawconnection.responseheaders.push(['x-my-header', 'abc123'])

if want set persistent headers server responds requests with, can set in api.config.servers.web.httpheaders


Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -