Compiler Error on Anonymous Callback function for WebSocket-Sharp Event

Hi I am attempting to use websocket-sharp to open a socket to connect to my node.js backend, but I am running into a compiler error listed below. However, all the examples using websocket-sharp seem absolutely identical. I am at a loss at this point, and was hoping someone could point me in the right direction.

COMPILER ERROR Delegate System.Func<WebSocketSharp.MessageEventArgs, System.Threading.Tasks.Task>' does not take2' arguments

===MySnippet within Code and Compiler Error===

===Full Code===

===WebSocket-Sharp Ex Usage===

by xrmicah via /r/csharp

Leave a Reply