Skip to content

Commit

Permalink
Updated restchannel to implement async channel status method
Browse files Browse the repository at this point in the history
  • Loading branch information
sacOO7 committed Oct 13, 2023
1 parent fc2d5c7 commit c710b30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/IO.Ably.Shared/Rest/RestChannel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,8 @@ public PaginatedResult<Message> History(PaginatedRequestParams query)
return AsyncHelper.RunSync(() => HistoryAsync(query));
}

private async Task<ChannelDetails> StatusAsync()
/// <inheritdoc/>
public async Task<ChannelDetails> StatusAsync()
{
AblyRequest request = _ablyRest.CreateGetRequest("/channels/" + Name);
return await _ablyRest.ExecuteRequest<ChannelDetails>(request);
Expand Down

0 comments on commit c710b30

Please sign in to comment.