[Modify] Add it
This commit is contained in:
parent
a3586e941c
commit
67b262dac2
@ -572,6 +572,12 @@ namespace WebSocketSharp.Net
|
|||||||
return realm != null && realm.Length > 0 ? realm : _defaultRealm;
|
return realm != null && realm.Length > 0 ? realm : _defaultRealm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
internal Func<IIdentity, NetworkCredential> GetUserCredentialsFinder ()
|
||||||
|
{
|
||||||
|
var finder = _userCredFinder;
|
||||||
|
return finder ?? (id => null);
|
||||||
|
}
|
||||||
|
|
||||||
internal bool RegisterContext (HttpListenerContext context)
|
internal bool RegisterContext (HttpListenerContext context)
|
||||||
{
|
{
|
||||||
if (!_listening)
|
if (!_listening)
|
||||||
|
Loading…
Reference in New Issue
Block a user