class RpcInterface(object):
def __init__(self):
return
def echo(self, msg):
// First response
resp("response 1")
// Do more processing.
resp("response 2")
return "Final Response"
You can use streaming, take a look on this page for examples in both python and nodejs: http//www.zerorpc.io
Best,
fx
--
You received this message because you are subscribed to the Google Groups "zerorpc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zerorpc+u...@googlegroups.com.
To post to this group, send email to zer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zerorpc/547eb252-9c31-45da-bdd6-d8bc5ba1455c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.