From c9bc09a9c1a0a6da089150d0c9bf4907a9ac2de0 Mon Sep 17 00:00:00 2001 From: sta Date: Sun, 19 Jan 2014 16:18:58 +0900 Subject: [PATCH] Fix a few --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 49fbf4db..245a4519 100644 --- a/README.md +++ b/README.md @@ -424,9 +424,9 @@ As a **WebSocket Client**, you should set a pair of user name and password for t ws.SetCredentials ("nobita", "password", true); ``` -If `preAuth` is `true`, the `WebSocket` sends the Basic authentication credentials to the server with the first connection request. +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 to the server with the second connection request. +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. 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.