Created
June 21, 2022 10:54
-
-
Save neuecc/f8446a629c743d2768b78955510c4c84 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// Server | |
await conn.SubscribeRequestAsync("foobar", (int x) => $"Hello {x}"); | |
// Client(response: "Hello 100") | |
var response = await conn.RequestAsync<int, string>("foobar", 100); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment