Testability
A server can be tested directly without starting it:
let resp = await srv.executeMethod("hello", %* ["Daisy"], RpcConv)
doAssert RpcConv.decode(resp, string) == "Hello Daisy"
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
A server can be tested directly without starting it:
let resp = await srv.executeMethod("hello", %* ["Daisy"], RpcConv)
doAssert RpcConv.decode(resp, string) == "Hello Daisy"