Created
May 12, 2020 13:04
-
-
Save bjoerntx/8e3363c2457ac9ce66027dd67fe5086a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CollabHub : Hub | |
{ | |
public async Task SetEditableRegionSync(EditableRegionSync editableRegionSync) | |
{ | |
await Clients.All.SendAsync("ReceiveRegionSync", editableRegionSync); | |
} | |
} | |
public class EditableRegionSync | |
{ | |
public string User { get; set; } | |
public int RegionId { get; set; } | |
public string Document { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment