QML interface to QWebSocketServer. More...
Import Statement: | import QtWebSockets 1.1 |
Since: | Qt 5.3 |
Set to true to accept incoming client connections when the server is listening. When set to false, incoming connections are rejected. By default, connections are accepted.
Set to true when the server should listen to client connections or false otherwise. When set to true, the server will listen on the specified url defined by host and port and, when accept is true, accepts incoming client connections. Otherwise the server is closed. By default, the server is not listening.
The port this server is listening on. The value must be in the range 0-65535.
By default, a port is chosen automatically.
Server url that client WebSockets can connect to. The url uses the ws:// scheme and includes the port the server listens to and the host address of the server.
clientConnected(WebSocket webSocket) |
This signal is emitted when a client connects to this server. webSocket is the newly created WebSocket.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: