websocket-sharp icon indicating copy to clipboard operation
websocket-sharp copied to clipboard

It's really hard for me to read those code.

Open CreazyBryon opened this issue 3 years ago • 0 comments

are those popular styles recently?

var evt = method == "GET" ? OnGet : method == "HEAD" ? OnHead : method == "POST" ? OnPost : method == "PUT" ? OnPut : method == "DELETE" ? OnDelete : method == "CONNECT" ? OnConnect : method == "OPTIONS" ? OnOptions : method == "TRACE" ? OnTrace : null;

readHeaderAsync ( stream, frame => readExtendedPayloadLengthAsync ( stream, frame, frame1 => readMaskingKeyAsync ( stream, frame1, frame2 => readPayloadDataAsync ( stream, frame2, frame3 => { if (unmask) frame3.Unmask (); completed (frame3); }, error ), error ), error ), error );

CreazyBryon avatar Oct 09 '22 05:10 CreazyBryon