<h4>setScope</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setScope&#8203;(<a href="https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a>&nbsp;scope)</pre>
<div class="block">Sets the scope of the websocket channel. It may not be an Jakarta Expression Language expression and allowed values
 are <code>application</code>, <code>session</code> and <code>view</code>, case insensitive.