UpgradeRequest.setSubProtocols

Set the offered WebSocket Sub-Protocol list.

@param protocols the offered sub-protocol list

  1. void setSubProtocols(List!(string) protocols)
  2. void setSubProtocols(string[] protocols)
    interface UpgradeRequest
    void
    setSubProtocols
    (
    string[] protocols...
    )

Meta