Does anyone know if streaming can be turned on in a ScriptTarget ?

Does anyone know if streaming can be turned on in a ScriptTarget ?

Example :

 <ScriptTarget>

        <Arguments/>

        <EnvironmentVariables/>

        <ResourceURL>node://app.js</ResourceURL>

        <Properties>

            <Property name="response.streaming.enabled">true</Property>

            <Property name="connect.timeout.millis">30000</Property>

        </Properties>

    </ScriptTarget>

Or does the streaming have to occur within the Node script itself ?

~~Q:S:S~~

Solved Solved
0 2 166
1 ACCEPTED SOLUTION

Not applicable

Hi @Anil Sagar, Its both actually.
When you have a script target you should have your script target settings as you pointed out + you need to take care of streaming in your node.js.

Attached a sample proxy, pls check.

View solution in original post

2 REPLIES 2

Not applicable

Hi @Anil Sagar, Its both actually.
When you have a script target you should have your script target settings as you pointed out + you need to take care of streaming in your node.js.

Attached a sample proxy, pls check.

Thank you @Maruti Chand , It's helpful.