pycapnp/examples/thread.capnp
Jacob Alexander 940ab9916d
Adding reconnecting async ssl example
- async_reconnecting_ssl_client.py will automatically close and
reconnect to a server when it becomes available (rather than hanging or
dying when the server disappears)
2019-10-05 14:50:56 -07:00

12 lines
281 B
Cap'n Proto

@0xf5745ea9c82baa3a;
interface Example {
interface StatusSubscriber {
status @0 (value: Bool);
# Call the function on the given parameters.
}
longRunning @0 () -> (value: Bool);
subscribeStatus @1 (subscriber: StatusSubscriber);
alive @2 () -> (value: Bool);
}