Add comment

This commit is contained in:
Bond-009 2019-02-20 12:53:35 +01:00 committed by GitHub
parent 64a4f259a2
commit fca226bdfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -429,6 +429,7 @@ namespace SocketHttpListener
private Task<bool> ProcessWebSocketFrameAsync(WebSocketFrame frame) private Task<bool> ProcessWebSocketFrameAsync(WebSocketFrame frame)
{ {
// TODO: @bond change to if/else chain
return frame.IsCompressed && _compression == CompressionMethod.None return frame.IsCompressed && _compression == CompressionMethod.None
? ProcessUnsupportedFrameAsync( ? ProcessUnsupportedFrameAsync(
frame, frame,