Add the ability to not use MessagePack when creating a HubConnector

This commit is contained in:
Dean Herbert
2021-08-02 14:44:51 +09:00
parent 1cd967b351
commit 617ff40de7
5 changed files with 13 additions and 7 deletions

View File

@ -102,7 +102,8 @@ namespace osu.Game.Online.API
/// </summary>
/// <param name="clientName">The name of the client this connector connects for, used for logging.</param>
/// <param name="endpoint">The endpoint to the hub.</param>
IHubClientConnector? GetHubConnector(string clientName, string endpoint);
/// <param name="preferMessagePack"></param>
IHubClientConnector? GetHubConnector(string clientName, string endpoint, bool preferMessagePack = true);
/// <summary>
/// Create a new user account. This is a blocking operation.