Table of Contents

RefreshLobbiesAsync

Methods
public Task<IReadOnlyList<LobbyData>> RefreshLobbiesAsync(string[] lobbyIds, CancellationToken cancellationToken = default)

Refresh the current data for the lobbies with the supplied ids.

Parameters
Type Name Description
string[] lobbyIds

IDs of the lobbies you want to refresh the data of.

CancellationToken cancellationToken

Optional parameter to cancel the request.

Returns
Type Description
Task<IReadOnlyList<LobbyData>>
Exceptions
Type Condition
TaskCanceledException

Thrown when the operation is canceled using the cancellationToken.

ResponseDeserializationException

Thrown when deserializing the response from the server fails.