lass="block">Returns the JavaScript event handler function that is invoked when the websocket is opened.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>The JavaScript event handler function that is invoked when the websocket is opened.</dd>
</dl>
</li>
</ul>
<a id="setOnopen(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOnopen</h4>
<pre class="methodSignature">public&nbsp;void&nbsp;setOnopen&#8203;(<a href="https://docs.oracle.com/en/java/javase/