Added Address and Port properties

This commit is contained in:
sta 2015-02-23 15:49:49 +09:00
parent 160aa923c2
commit 9ca8c54e8f

View File

@ -127,12 +127,24 @@ namespace WebSocketSharp.Net
#region Public Properties
public IPAddress Address {
get {
return _endpoint.Address;
}
}
public bool IsSecure {
get {
return _secure;
}
}
public int Port {
get {
return _endpoint.Port;
}
}
public ServerSslConfiguration SslConfiguration {
get {
return _sslConfig;