Skip to content

Instantly share code, notes, and snippets.

@telfaria
Created October 15, 2023 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save telfaria/f893a082525f377a58eb73d3d418f816 to your computer and use it in GitHub Desktop.
Save telfaria/f893a082525f377a58eb73d3d418f816 to your computer and use it in GitHub Desktop.
MagicOnion Client Connection
private GrpcChannel channel;
private IMagicOnionAppService client;
private async void connect()
{
channel = GrpcChannel.ForAddress("http://localhost:5000");
client = MagicOnionClient.Create<IMagicOnionAppService>(channel);
txtResult.AppendText("Connect: http://localhost:5000 \r\n");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment