From ce5cbdd67af0b7244de109ee9f0ba778c24c38cb Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 21 Oct 2015 12:29:48 +0900 Subject: [PATCH] [Modify] Polish it Add some xml doc comments. --- websocket-sharp/Mask.cs | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/websocket-sharp/Mask.cs b/websocket-sharp/Mask.cs index bd23b288..018751d2 100644 --- a/websocket-sharp/Mask.cs +++ b/websocket-sharp/Mask.cs @@ -4,7 +4,7 @@ * * The MIT License * - * Copyright (c) 2012-2014 sta.blockhead + * Copyright (c) 2012-2015 sta.blockhead * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -30,9 +30,22 @@ using System; namespace WebSocketSharp { + /// + /// Contains the values that indicate whether the payload data of a WebSocket frame is masked. + /// + /// + /// The values of this enumeration are defined in + /// Section 5.2 of RFC 6455. + /// internal enum Mask : byte { + /// + /// Equivalent to numeric value 0. Indicates not masked. + /// Unmask = 0x0, + /// + /// Equivalent to numeric value 1. Indicates masked. + /// Mask = 0x1 } }