From 6650b397239002e2bab72fe8ab7c6e4751af87c1 Mon Sep 17 00:00:00 2001 From: sta Date: Mon, 20 Jan 2014 21:30:07 +0900 Subject: [PATCH] Modified 'HTTP Authentication' --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 44829e50..03c310a6 100644 --- a/README.md +++ b/README.md @@ -432,9 +432,9 @@ ws.SetCredentials ("nobita", "password", true); If `preAuth` is `true`, the `WebSocket` sends the Basic authentication credentials with the first connection request to the server. -And if `preAuth` is `false`, the `WebSocket` sends either the Basic or Digest authentication (determined by the unauthorized response to the first connection request) credentials with the second connection request to the server. +Or if `preAuth` is `false`, the `WebSocket` sends either the Basic or Digest authentication (determined by the unauthorized response to the first connection request) credentials with the second connection request to the server. -As a **WebSocket Server**, you should set an HTTP authentication scheme, a realm, and any function to find the user credentials before starting. It's like the following. +As a **WebSocket Server**, you should set an HTTP authentication scheme, a realm, and any function to find the user credentials, before starting. It's like the following. ```cs wssv.AuthenticationSchemes = AuthenticationSchemes.Basic;