Created
June 8, 2021 09:57
-
-
Save bjoerntx/4254cb5888d8fb40893377125901a990 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 SetAnnotationSync(AnnotationSync annotationSync) | |
{ | |
await Clients.All.SendAsync("ReceiveAnnotationSync", annotationSync); | |
} | |
} | |
public class AnnotationSync | |
{ | |
public string User { get; set; } | |
public string AnnotationJson { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment