- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Collects options for the WebSocket handshake
Java wrapper for Qt class QWebSocketHandshakeOptions
- Since:
- This class was introduced in Qt 6.4.
-
Constructor Summary
ConstructorDescriptionConstructs an empty QWebSocketHandshakeOptions objectConstructs a QWebSocketHandshakeOptions that is a copy of other -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QWebSocketHandshakeOptions other) Assigns other to this objectclone()
Creates and returns a copy of this object.boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QWebSocketHandshakeOptions)
.final void
set
(QWebSocketHandshakeOptions other) Deprecated.final void
setSubprotocols
(Collection<String> protocols) Sets the list of WebSocket subprotocols protocols to send along with the websocket handshakefinal QStringList
Returns the list of WebSocket subprotocols to send along with the websocket handshakefinal void
swap
(QWebSocketHandshakeOptions other) SeeQWebSocketHandshakeOptions::
swap(QWebSocketHandshakeOptions&) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QWebSocketHandshakeOptions
public QWebSocketHandshakeOptions()Constructs an empty QWebSocketHandshakeOptions object
See
QWebSocketHandshakeOptions::
QWebSocketHandshakeOptions() -
QWebSocketHandshakeOptions
Constructs a QWebSocketHandshakeOptions that is a copy of other
See
QWebSocketHandshakeOptions::
QWebSocketHandshakeOptions(QWebSocketHandshakeOptions) - Parameters:
other
-
-
-
Method Details
-
assign
Assigns other to this object
See
QWebSocketHandshakeOptions::
operator=(QWebSocketHandshakeOptions) - Parameters:
other
-
-
setSubprotocols
Sets the list of WebSocket subprotocols protocols to send along with the websocket handshake
See
QWebSocketHandshakeOptions::
setSubprotocols(QStringList) - Parameters:
protocols
-
-
subprotocols
Returns the list of WebSocket subprotocols to send along with the websocket handshake
- Returns:
-
swap
See
QWebSocketHandshakeOptions::
swap(QWebSocketHandshakeOptions&) - Parameters:
other
-
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QWebSocketHandshakeOptions)
. -
clone
Creates and returns a copy of this object.
See
QWebSocketHandshakeOptions::
QWebSocketHandshakeOptions(QWebSocketHandshakeOptions) -
set
Deprecated.Useassign(io.qt.websockets.QWebSocketHandshakeOptions)
instead.
-
assign(io.qt.websockets.QWebSocketHandshakeOptions)
instead.