From bf05b66d76ec4a1858569fe53a1549f187645fc9 Mon Sep 17 00:00:00 2001 From: sta Date: Thu, 9 Oct 2014 19:44:40 +0900 Subject: [PATCH] Modified a few for README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3f78fcf2..60981fab 100644 --- a/README.md +++ b/README.md @@ -471,7 +471,7 @@ wssv.Realm = "WebSocket Test"; wssv.UserCredentialsFinder = id => { var expected = "nobita"; return id.Name == expected - ? new NetworkCredential (expected, "password", "gunfighter") // User name, password, and roles + ? new NetworkCredential (expected, "password", "gunfighter") // User name, password, and roles. : null; // If the user credentials aren't found. }; ``` @@ -521,7 +521,7 @@ public class Chat : WebSocketBehavior } ``` -And if you would like to check the **Origin header**, **Cookies**, or both included in each WebSocket connection request, you should set each validation with your `WebSocketBehavior`, for example, using the `AddWebSocketService (string, Func)` method with initializing, like the following. +And if you would like to validate the **Origin header**, **Cookies**, or both included in each WebSocket connection request, you should set each validation with your `WebSocketBehavior`, for example, using the `AddWebSocketService (string, Func)` method with initializing, like the following. ```cs wssv.AddWebSocketService (