Added Address and Port properties
This commit is contained in:
parent
160aa923c2
commit
9ca8c54e8f
@ -127,12 +127,24 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
#region Public Properties
|
#region Public Properties
|
||||||
|
|
||||||
|
public IPAddress Address {
|
||||||
|
get {
|
||||||
|
return _endpoint.Address;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public bool IsSecure {
|
public bool IsSecure {
|
||||||
get {
|
get {
|
||||||
return _secure;
|
return _secure;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public int Port {
|
||||||
|
get {
|
||||||
|
return _endpoint.Port;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public ServerSslConfiguration SslConfiguration {
|
public ServerSslConfiguration SslConfiguration {
|
||||||
get {
|
get {
|
||||||
return _sslConfig;
|
return _sslConfig;
|
||||||
|
Loading…
Reference in New Issue
Block a user