From d006215860c58b466e0499ee7f95b36273e6f3be Mon Sep 17 00:00:00 2001 From: sta Date: Wed, 6 Jul 2016 15:14:25 +0900 Subject: [PATCH] [Modify] Edit it --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 08b0ecfe..2936189e 100644 --- a/README.md +++ b/README.md @@ -508,13 +508,13 @@ As a **WebSocket Server**, you should set an HTTP authentication scheme, a realm wssv.AuthenticationSchemes = AuthenticationSchemes.Basic; wssv.Realm = "WebSocket Test"; wssv.UserCredentialsFinder = id => { - var name = id.Name; + var name = id.Name; - // Return user name, password, and roles. - return name == "nobita" - ? new NetworkCredential (name, "password", "gunfighter") - : null; // If the user credentials aren't found. -}; + // Return user name, password, and roles. + return name == "nobita" + ? new NetworkCredential (name, "password", "gunfighter") + : null; // If the user credentials aren't found. + }; ``` If you would like to provide the Digest authentication, you should set such as the following.