Fix a few

master
sta 12 years ago
parent 6650b39723
commit b5d9fea133

@ -434,7 +434,7 @@ If `preAuth` is `true`, the `WebSocket` sends the Basic authentication credentia
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;

Loading…
Cancel
Save