[Modify] Move it
This commit is contained in:
parent
d732d88ba2
commit
789e779048
@ -247,7 +247,9 @@ namespace WebSocketSharp.Net
|
|||||||
#region Internal Properties
|
#region Internal Properties
|
||||||
|
|
||||||
internal bool ExactDomain {
|
internal bool ExactDomain {
|
||||||
get; set;
|
get {
|
||||||
|
return _domain.Length == 0 || _domain[0] != '.';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal int MaxAge {
|
internal int MaxAge {
|
||||||
@ -362,7 +364,6 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
set {
|
set {
|
||||||
_domain = value ?? String.Empty;
|
_domain = value ?? String.Empty;
|
||||||
ExactDomain = _domain.Length == 0 || _domain[0] != '.';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user