[Modify] Put it back
This commit is contained in:
parent
d1c5f0b334
commit
eedd814429
@ -319,7 +319,9 @@ namespace WebSocketSharp.Server
|
||||
/// </exception>
|
||||
public string Protocol {
|
||||
get {
|
||||
return _protocol ?? String.Empty;
|
||||
return _websocket != null
|
||||
? _websocket.Protocol
|
||||
: (_protocol ?? String.Empty);
|
||||
}
|
||||
|
||||
set {
|
||||
|
Loading…
Reference in New Issue
Block a user