New Show Hacker News story: Show HN: How to create an echo server with Pipy proxy
Show HN: How to create an echo server with Pipy proxy
3 by shaderx13 | 1 comments on Hacker News.
In this part of tutorial, you will learn how dynamic content can be made in responses from a Pipy program. You will also tast a bit of how variables work in Pipy. Takeaways Filter parameters are only evaluated once so they have a "static" value at runtime. To make them "dynamic", they need to be functions that output dynamic values. Global variables have isolated states between concurrent pipelines. One of the builtin global variables is __inbound, which contains address/port information about the current incoming connection. More details, please refer to [https://ift.tt/S2nI0Ej]
3 by shaderx13 | 1 comments on Hacker News.
In this part of tutorial, you will learn how dynamic content can be made in responses from a Pipy program. You will also tast a bit of how variables work in Pipy. Takeaways Filter parameters are only evaluated once so they have a "static" value at runtime. To make them "dynamic", they need to be functions that output dynamic values. Global variables have isolated states between concurrent pipelines. One of the builtin global variables is __inbound, which contains address/port information about the current incoming connection. More details, please refer to [https://ift.tt/S2nI0Ej]
Comments
Post a Comment