Created
August 6, 2016 16:08
-
-
Save tocttou/403196805e33af9d7fe0900e7ee5c4c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cvfy | |
app = cvfy.register("nongh:0.0.0.0:6391972:3000:8005:0.0.0.0") | |
@cvfy.crossdomain | |
@app.listen() | |
def runner(): | |
cvfy.sendTextArrayToTerminal(['This data will be sent before output is injected in ', 'Output Component']); | |
cvfy.sendImageArray(['/home/abc.png', '/tmp/123.png']) | |
cvfy.sendTextArrayToTerminal(['This data will be sent after output is injected in ', 'Output Component']); | |
return 'OK' | |
app.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment