[Modify] Edit it
This commit is contained in:
parent
03aad074e6
commit
b1deb38c26
@ -2823,15 +2823,22 @@ namespace WebSocketSharp
|
|||||||
/// the HTTP authentication (Basic/Digest).
|
/// the HTTP authentication (Basic/Digest).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="username">
|
/// <param name="username">
|
||||||
/// A <see cref="string"/> that represents the user name used to authenticate.
|
/// <para>
|
||||||
|
/// A <see cref="string"/> that represents the user name used to authenticate.
|
||||||
|
/// </para>
|
||||||
|
/// <para>
|
||||||
|
/// If <paramref name="username"/> is <see langword="null"/> or empty,
|
||||||
|
/// the credentials will be initialized and not be sent.
|
||||||
|
/// </para>
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="password">
|
/// <param name="password">
|
||||||
/// A <see cref="string"/> that represents the password for <paramref name="username"/>
|
/// A <see cref="string"/> that represents the password for
|
||||||
/// used to authenticate.
|
/// <paramref name="username"/> used to authenticate.
|
||||||
/// </param>
|
/// </param>
|
||||||
/// <param name="preAuth">
|
/// <param name="preAuth">
|
||||||
/// <c>true</c> if the <see cref="WebSocket"/> sends the Basic authentication credentials with
|
/// <c>true</c> if the <see cref="WebSocket"/> sends the credentials for
|
||||||
/// the first handshake request to the server; otherwise, <c>false</c>.
|
/// the Basic authentication with the first handshake request to the server;
|
||||||
|
/// otherwise, <c>false</c>.
|
||||||
/// </param>
|
/// </param>
|
||||||
public void SetCredentials (string username, string password, bool preAuth)
|
public void SetCredentials (string username, string password, bool preAuth)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user