35 lines
4.0 KiB
HTML
35 lines
4.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>WebSocketMessageHandler.onTextMessage (handy_http_websockets.components.WebSocketMessageHandler.onTextMessage)</title>
|
|
<meta charset="utf-8" />
|
|
<meta content="width=device-width, initial-scale=1" name="viewport" />
|
|
<link href="style.css" rel="stylesheet" />
|
|
<script src="script.js" type="text/javascript"></script>
|
|
|
|
|
|
<link href="search-results.html" rel="prefetch" />
|
|
</head>
|
|
<body>
|
|
<div id="page-header">
|
|
<div id="logotype">
|
|
<span>Documentation</span>
|
|
<nav>
|
|
<a href="http://dlang.org/">Dlang.org</a>
|
|
</nav>
|
|
</div>
|
|
|
|
<form action="search-docs.html" id="search">
|
|
<input name="searchTerm" placeholder="Find a symbol name..." type="search" />
|
|
<input type="submit" value="Go" />
|
|
</form>
|
|
</div>
|
|
<div id="page-body">
|
|
<div id="page-content">
|
|
<h1>WebSocketMessageHandler.onTextMessage</h1><div class="breadcrumbs"><a class="breadcrumb" href="handy_http_websockets.html">handy_http_websockets</a> <a class="breadcrumb" href="handy_http_websockets.components.html">components</a> <a class="breadcrumb" href="handy_http_websockets.components.WebSocketMessageHandler.html">WebSocketMessageHandler</a> </div><div><div class="documentation-comment synopsis"><div><p>Called when a text message is received.</p></div></div></div><div class="annotated-prototype"><div class="function-prototype"><div class="parent-prototype"><span class="builtin-type">class</span> <span class="name">WebSocketMessageHandler</span></div><div><div class="attributes"></div><div class="return-type"><span class="builtin-type">void</span></div><div class="function-name">onTextMessage</div><div class="template-parameters" data-count="0"></div><div class="runtime-parameters" data-count="1"><div class="parameters-list toplevel"><span class="paren">(</span><div class="runtime-parameter-item parameter-item"><span class="parameter-type-holder"><span class="parameter-type"><a class="name" data-ident="WebSocketTextMessage" href="handy_http_websockets.components.WebSocketTextMessage.html" title="handy_http_websockets.components.WebSocketTextMessage">WebSocketTextMessage</a></span></span> <span class="parameter-name name" data-ident="msg"><a href="#param-msg">msg</a></span></div><span class="paren">)</span></div></div><div class="function-contracts"></div></div></div></div><div><h2 id="parameters"><a class="header-anchor" href="#parameters">Parameters</a></h2><dl class="parameter-descriptions"><dt id="param-msg"><a class="parameter-name" data-ident="msg" href="#param-msg">msg</a> <span class="parameter-type"><a class="xref" href="handy_http_websockets.components.WebSocketTextMessage.html" title="handy_http_websockets.components.WebSocketTextMessage"><span class="name" data-ident="WebSocketTextMessage">WebSocketTextMessage</span></a></span></dt><dd><div class="documentation-comment"><div><p>The message that was received.</p></div></div></dd></dl></div></div>
|
|
<div id="page-nav"><a class="parent" href="handy_http_websockets.html">handy_http_websockets</a> <a class="parent" href="handy_http_websockets.components.html">components</a> <a class="parent" href="handy_http_websockets.components.WebSocketMessageHandler.html">WebSocketMessageHandler</a>
|
|
<span class="type-separator">functions</span><ul><li><a class="function" href="handy_http_websockets.components.WebSocketMessageHandler.onBinaryMessage.html">onBinaryMessage</a></li><li><a class="function" href="handy_http_websockets.components.WebSocketMessageHandler.onCloseMessage.html">onCloseMessage</a></li><li><a class="function" href="handy_http_websockets.components.WebSocketMessageHandler.onConnectionClosed.html">onConnectionClosed</a></li><li><a class="function" href="handy_http_websockets.components.WebSocketMessageHandler.onConnectionEstablished.html">onConnectionEstablished</a></li><li><a class="function current" href="handy_http_websockets.components.WebSocketMessageHandler.onTextMessage.html">onTextMessage</a></li></ul></div>
|
|
</div>
|
|
<div id="page-footer">Page generated by <a href="https://github.com/adamdruppe/adrdox">adrdox</a></div>
|
|
</body>
|
|
</html> |