Uses of Class
io.qt.websockets.QWebSocketProtocol.CloseCode
Package | Description |
---|---|
io.qt.websockets |
-
Uses of QWebSocketProtocol.CloseCode in io.qt.websockets
Fields in io.qt.websockets with type parameters of type QWebSocketProtocol.CloseCode Modifier and Type Field Description QObject.Signal1<QWebSocketProtocol.CloseCode>
QWebSocketServer. serverError
Methods in io.qt.websockets that return QWebSocketProtocol.CloseCode Modifier and Type Method Description QWebSocketProtocol.CloseCode
QWebSocket. closeCode()
Returns the code indicating why the socket was closedQWebSocketProtocol.CloseCode
QWebSocketServer. error()
static QWebSocketProtocol.CloseCode
QWebSocketProtocol.CloseCode. resolve(int value)
Returns the corresponding enum entry for the given value.static QWebSocketProtocol.CloseCode
QWebSocketProtocol.CloseCode. valueOf(String name)
Returns the enum constant of this type with the specified name.static QWebSocketProtocol.CloseCode[]
QWebSocketProtocol.CloseCode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in io.qt.websockets with parameters of type QWebSocketProtocol.CloseCode Modifier and Type Method Description void
QWebSocket. close(QWebSocketProtocol.CloseCode closeCode)
Overloaded function forQWebSocket.close(io.qt.websockets.QWebSocketProtocol.CloseCode, java.lang.String)
withreason = ""
.void
QWebSocket. close(QWebSocketProtocol.CloseCode closeCode, String reason)
Gracefully closes the socket with the given closeCode and reason