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 #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;