RefreshLobbyAsync
method in Coherence.Cloud.LobbiesService
Methods
public Task<LobbyData> RefreshLobbyAsync(LobbyData lobby)
Refresh the current data for the supplied Lobby.
Parameters
| Type | Name | Description |
|---|---|---|
| LobbyData | lobby | Lobby you want to refresh the data of. |
Returns
| Type | Description |
|---|---|
| Task<LobbyData> |
public Task<LobbyData> RefreshLobbyAsync(string lobbyId, CancellationToken cancellationToken = default)
Refresh the current data for the Lobby with the supplied id.
Parameters
| Type | Name | Description |
|---|---|---|
| string | lobbyId | Lobby ID you want to refresh the data of. |
| CancellationToken | cancellationToken | Optional parameter to cancel the request. |
Returns
| Type | Description |
|---|---|
| Task<LobbyData> |
Exceptions
| Type | Condition |
|---|---|
| TaskCanceledException | Thrown when the operation is canceled using the |
| ResponseDeserializationException | Thrown when deserializing the response from the server fails. |