websocket - Does QWebSocketServer support path parsing? -
websocket - Does QWebSocketServer support path parsing? -
i sense qt's websocket implementation not care path send connect server, there no distinguishing between, say:
ws://localhost:1234/chatroom
and
ws://localhost:1234/echotest
is (uri path parsing) supported qwebsocketserver?
after digging found is, not via direct api call. when connection established, able obtain url of request, socket->requesturl()
, can respond according url request sent.
websocket qt5
Comments
Post a Comment