I want to use the subprotocol with boost websocket.
For example, I have s websocket server address , ws://127.0.0.1:5005. Now I want to replace it with ws://127.0.0.1:5005/order. "order" is the subprotocol in websocket, which could be used in libwebsocket. I find no resource about subprotocol with boost.
Here is a way to set subprotocol for Websocket in Boost:
if the Boost version >= 1.7.0, then: Click here for more detail
else: Click here for more detail