Skip to content

Commit

Permalink
Merge pull request #404 from Cysharp/hotfix/UseConnectAsync
Browse files Browse the repository at this point in the history
Use ConnectAsync
  • Loading branch information
mayuki authored Feb 1, 2021
2 parents 2b9a65c + 15898fd commit 57ae44c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/JwtAuthentication/JwtAuthApp.Client/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ private async Task MainCore(string[] args)

// 5. Call StreamingHub with authentication
{
var timerHubClient = StreamingHubClient.Connect<ITimerHub, ITimerHubReceiver>(
var timerHubClient = await StreamingHubClient.ConnectAsync<ITimerHub, ITimerHubReceiver>(
channel,
this,
option: new CallOptions().WithHeaders(new Metadata()
Expand Down

0 comments on commit 57ae44c

Please sign in to comment.