Initializes a new instance of the
HttpServer class with
the specified
port and
secure.
Namespace:
WebSocketSharp.Server
Assembly:
C-DEngine (in C-DEngine.dll)
public HttpServer(
int port,
bool secure
)
public:
HttpServer(
int^ port,
bool^ secure
)
Parameters
- port
- Type: Int32
An Int32 that represents the port number on which to listen.
- secure
- Type: Boolean
A Boolean that indicates providing a secure connection or not.
(true indicates providing a secure connection.)
An instance initialized by this constructor listens for the incoming requests on
port.