1087 lines
54 KiB
HTML
1087 lines
54 KiB
HTML
<html>
|
|
<head>
|
|
<title>WebSocketSharp.Server.WebSocketServiceHost<T></title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<style>
|
|
a { text-decoration: none }
|
|
|
|
div.SideBar {
|
|
padding-left: 1em;
|
|
padding-right: 1em;
|
|
right: 0;
|
|
float: right;
|
|
border: thin solid black;
|
|
background-color: #f2f2f2;
|
|
}
|
|
|
|
.CollectionTitle { font-weight: bold }
|
|
.PageTitle { font-size: 150%; font-weight: bold }
|
|
|
|
.Summary { }
|
|
.Signature { }
|
|
.Remarks { }
|
|
.Members { }
|
|
.Copyright { }
|
|
|
|
.Section { font-size: 125%; font-weight: bold }
|
|
p.Summary {
|
|
margin-left: 1em;
|
|
}
|
|
.SectionBox { margin-left: 2em }
|
|
.NamespaceName { font-size: 105%; font-weight: bold }
|
|
.NamespaceSumary { }
|
|
.MemberName { font-size: 115%; font-weight: bold; margin-top: 1em }
|
|
.Subsection { font-size: 105%; font-weight: bold }
|
|
.SubsectionBox { margin-left: 2em; margin-bottom: 1em }
|
|
|
|
.CodeExampleTable { background-color: #f5f5dd; border: thin solid black; padding: .25em; }
|
|
|
|
.TypesListing {
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
td {
|
|
vertical-align: top;
|
|
}
|
|
th {
|
|
text-align: left;
|
|
}
|
|
|
|
.TypesListing td {
|
|
margin: 0px;
|
|
padding: .25em;
|
|
border: solid gray 1px;
|
|
}
|
|
|
|
.TypesListing th {
|
|
margin: 0px;
|
|
padding: .25em;
|
|
background-color: #f2f2f2;
|
|
border: solid gray 1px;
|
|
}
|
|
|
|
div.Footer {
|
|
border-top: 1px solid gray;
|
|
margin-top: 1.5em;
|
|
padding-top: 0.6em;
|
|
text-align: center;
|
|
color: gray;
|
|
}
|
|
|
|
span.NotEntered /* Documentation for this section has not yet been entered */ {
|
|
font-style: italic;
|
|
color: red;
|
|
}
|
|
|
|
div.Header {
|
|
background: #B0C4DE;
|
|
border: double;
|
|
border-color: white;
|
|
border-width: 7px;
|
|
padding: 0.5em;
|
|
}
|
|
|
|
div.Header * {
|
|
font-size: smaller;
|
|
}
|
|
|
|
div.Note {
|
|
}
|
|
|
|
i.ParamRef {
|
|
}
|
|
|
|
i.subtitle {
|
|
}
|
|
|
|
ul.TypeMembersIndex {
|
|
text-align: left;
|
|
background: #F8F8F8;
|
|
}
|
|
|
|
ul.TypeMembersIndex li {
|
|
display: inline;
|
|
margin: 0.5em;
|
|
}
|
|
|
|
table.HeaderTable {
|
|
}
|
|
|
|
table.SignatureTable {
|
|
}
|
|
|
|
table.Documentation, table.Enumeration, table.TypeDocumentation {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
table.Documentation tr th, table.TypeMembers tr th, table.Enumeration tr th, table.TypeDocumentation tr th {
|
|
background: whitesmoke;
|
|
padding: 0.8em;
|
|
border: 1px solid gray;
|
|
text-align: left;
|
|
vertical-align: bottom;
|
|
}
|
|
|
|
table.Documentation tr td, table.TypeMembers tr td, table.Enumeration tr td, table.TypeDocumentation tr td {
|
|
padding: 0.5em;
|
|
border: 1px solid gray;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
table.TypeMembers {
|
|
border: 1px solid #C0C0C0;
|
|
width: 100%;
|
|
}
|
|
|
|
table.TypeMembers tr td {
|
|
background: #F8F8F8;
|
|
border: white;
|
|
}
|
|
|
|
table.Documentation {
|
|
}
|
|
|
|
table.TypeMembers {
|
|
}
|
|
|
|
div.CodeExample {
|
|
width: 100%;
|
|
border: 1px solid #DDDDDD;
|
|
background-color: #F8F8F8;
|
|
}
|
|
|
|
div.CodeExample p {
|
|
margin: 0.5em;
|
|
border-bottom: 1px solid #DDDDDD;
|
|
}
|
|
|
|
div.CodeExample div {
|
|
margin: 0.5em;
|
|
}
|
|
|
|
h4 {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
div.Signature {
|
|
border: 1px solid #C0C0C0;
|
|
background: #F2F2F2;
|
|
padding: 1em;
|
|
}
|
|
</style>
|
|
<script type="text/JavaScript">
|
|
function toggle_display (block) {
|
|
var w = document.getElementById (block);
|
|
var t = document.getElementById (block + ":toggle");
|
|
if (w.style.display == "none") {
|
|
w.style.display = "block";
|
|
t.innerHTML = "⊟";
|
|
} else {
|
|
w.style.display = "none";
|
|
t.innerHTML = "⊞";
|
|
}
|
|
}
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="CollectionTitle">
|
|
<a href="../index.html">websocket-sharp</a> : <a href="index.html">WebSocketSharp.Server Namespace</a></div>
|
|
<div class="SideBar">
|
|
<p>
|
|
<a href="#T:WebSocketSharp.Server.WebSocketServiceHost`1">Overview</a>
|
|
</p>
|
|
<p>
|
|
<a href="#T:WebSocketSharp.Server.WebSocketServiceHost`1:Signature">Signature</a>
|
|
</p>
|
|
<p>
|
|
<a href="#T:WebSocketSharp.Server.WebSocketServiceHost`1:Docs">Remarks</a>
|
|
</p>
|
|
<p>
|
|
<a href="#Members">Members</a>
|
|
</p>
|
|
<p>
|
|
<a href="#T:WebSocketSharp.Server.WebSocketServiceHost`1:Members">Member Details</a>
|
|
</p>
|
|
</div>
|
|
<h1 class="PageTitle" id="T:WebSocketSharp.Server.WebSocketServiceHost`1">WebSocketServiceHost<T> Generic Class</h1>
|
|
<p class="Summary" id="T:WebSocketSharp.Server.WebSocketServiceHost`1:Summary">
|
|
Provides the functions of the server that receives the WebSocket connection requests.
|
|
</p>
|
|
<div id="T:WebSocketSharp.Server.WebSocketServiceHost`1:Signature">
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public class <b>WebSocketServiceHost<T></b> : <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>, <a href="../WebSocketSharp.Server/IServiceHost.html">IServiceHost</a><br /> where T : <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a>, new()</div>
|
|
</div>
|
|
<div class="Remarks" id="T:WebSocketSharp.Server.WebSocketServiceHost`1:Docs">
|
|
<h4 class="Subsection">Type Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="T:WebSocketSharp.Server.WebSocketServiceHost`1:Docs:Type Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>T</i>
|
|
</dt>
|
|
<dd>
|
|
The type of the WebSocket service that the server provides. The T must inherit the <a href="../WebSocketSharp.Server/WebSocketService.html">WebSocketSharp.Server.WebSocketService</a> class.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="T:WebSocketSharp.Server.WebSocketServiceHost`1:Docs:Remarks">
|
|
The WebSocketServiceHost<T> class provides single WebSocket service.
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="T:WebSocketSharp.Server.WebSocketServiceHost`1:Docs:Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<h2 class="Section" id="Members">Members</h2>
|
|
<div class="SectionBox" id="_Members">
|
|
<p>
|
|
See Also: Inherited members from
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.
|
|
</p>
|
|
<h2 class="Section">Public Constructors</h2>
|
|
<div class="SectionBox" id="Public Constructors">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
<b>
|
|
<a href="#C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32)">WebSocketServiceHost</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>)</div>
|
|
</td>
|
|
<td>
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>port</i>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
<b>
|
|
<a href="#C:WebSocketSharp.Server.WebSocketServiceHost`1(System.String)">WebSocketServiceHost</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div>
|
|
</td>
|
|
<td>
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified WebSocket URL.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
<b>
|
|
<a href="#C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.Boolean)">WebSocketServiceHost</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>)</div>
|
|
</td>
|
|
<td>
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>port</i> and <i>secure</i>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
<b>
|
|
<a href="#C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String)">WebSocketServiceHost</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div>
|
|
</td>
|
|
<td>
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>port</i> and <i>absPath</i>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
<b>
|
|
<a href="#C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String,System.Boolean)">WebSocketServiceHost</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>)</div>
|
|
</td>
|
|
<td>
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>port</i>, <i>absPath</i> and <i>secure</i>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
<b>
|
|
<a href="#C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String)">WebSocketServiceHost</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.IPAddress">System.Net.IPAddress</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)</div>
|
|
</td>
|
|
<td>
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>address</i>, <i>port</i> and <i>absPath</i>.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div>
|
|
<b>
|
|
<a href="#C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String,System.Boolean)">WebSocketServiceHost</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.IPAddress">System.Net.IPAddress</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>)</div>
|
|
</td>
|
|
<td>
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>address</i>, <i>port</i>, <i>absPath</i> and <i>secure</i>.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h2 class="Section">Public Properties</h2>
|
|
<div class="SectionBox" id="Public Properties">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#P:WebSocketSharp.Server.WebSocketServerBase.Address">Address</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.IPAddress">System.Net.IPAddress</a>
|
|
</i>.
|
|
Gets the local IP address on which to listen for incoming connection attempts.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#P:WebSocketSharp.Server.WebSocketServerBase.IsSecure">IsSecure</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
|
</i>.
|
|
Gets a value indicating whether this server is secure.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#P:WebSocketSharp.Server.WebSocketServerBase.IsSelfHost">IsSelfHost</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
|
</i>.
|
|
Gets a value indicating whether this server is self host.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#P:WebSocketSharp.Server.WebSocketServerBase.Port">Port</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a>
|
|
</i>.
|
|
Gets the port on which to listen for incoming connection attempts.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<b>
|
|
<a href="#P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped">Sweeped</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
|
</i>.
|
|
Gets or sets a value indicating whether the server cleans up the inactive client.
|
|
</td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>[read-only]<div></div></td>
|
|
<td>
|
|
<b>
|
|
<a href="#P:WebSocketSharp.Server.WebSocketServiceHost`1.Uri">Uri</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a>
|
|
</i>.
|
|
Gets the WebSocket URL on which to listen for incoming connection attempts.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h2 class="Section">Protected Properties</h2>
|
|
<div class="SectionBox" id="Protected Properties">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#P:WebSocketSharp.Server.WebSocketServerBase.BaseUri">BaseUri</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
<i>
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a>
|
|
</i>.
|
|
Gets or sets the WebSocket URL on which to listen for incoming connection attempts.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h2 class="Section">Public Methods</h2>
|
|
<div class="SectionBox" id="Public Methods">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadcast(System.String)">Broadcast</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
|
|
Broadcasts the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadping(System.String)">Broadping</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.Dictionary`2">Dictionary<string, bool></a></nobr><blockquote>
|
|
Pings with the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to all clients.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#M:WebSocketSharp.Server.WebSocketServerBase.Start">Start</a>
|
|
</b>()<blockquote>
|
|
Starts to receive the WebSocket connection requests.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>override </div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceHost`1.Stop">Stop</a>
|
|
</b>()<blockquote>
|
|
Stops receiving the WebSocket connection requests.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#M:WebSocketSharp.Server.WebSocketServerBase.Stop">Stop</a>
|
|
</b>()<blockquote>
|
|
Stops receiving the WebSocket connection requests.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</blockquote></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h2 class="Section">Protected Methods</h2>
|
|
<div class="SectionBox" id="Protected Methods">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>
|
|
<div>override </div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceHost`1.AcceptWebSocket(System.Net.Sockets.TcpClient)">AcceptWebSocket</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpClient">System.Net.Sockets.TcpClient</a>)<blockquote>
|
|
Accepts the WebSocket connection.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>abstract </div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#M:WebSocketSharp.Server.WebSocketServerBase.AcceptWebSocket(System.Net.Sockets.TcpClient)">AcceptWebSocket</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpClient">System.Net.Sockets.TcpClient</a>)<blockquote>
|
|
Accepts the WebSocket connection.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#M:WebSocketSharp.Server.WebSocketServerBase.Error(System.String)">Error</a>
|
|
</b>(<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>)<blockquote>
|
|
Occurs the <a href="../WebSocketSharp.Server/WebSocketServerBase.html#E:WebSocketSharp.Server.WebSocketServerBase.OnError">WebSocketServerBase.OnError</a> event with the specified <i>message</i>.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</blockquote></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h2 class="Section">Public Events</h2>
|
|
<div class="SectionBox" id="Public Events">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<b>
|
|
<a href="../WebSocketSharp.Server/WebSocketServerBase.html#E:WebSocketSharp.Server.WebSocketServerBase.OnError">OnError</a>
|
|
</b>
|
|
</td>
|
|
<td>
|
|
Occurs when this server gets an error.
|
|
(<i>Inherited from <a href="../WebSocketSharp.Server/WebSocketServerBase.html">WebSocketServerBase</a>.</i>)</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h2 class="Section">Explicitly Implemented Interface Members</h2>
|
|
<div class="SectionBox" id="Explicitly Implemented Interface Members">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>
|
|
<div>
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<a href="#M:WebSocketSharp.Server.WebSocketServiceHost`1.WebSocketSharp#Server#IServiceHost#BindWebSocket(WebSocketSharp.WebSocket)">
|
|
<b>WebSocketSharp.Server.IServiceHost.BindWebSocket</b>
|
|
</a>
|
|
</td>
|
|
<td>
|
|
Binds the specified <a href="../WebSocketSharp/WebSocket.html">WebSocketSharp.WebSocket</a> instance to the WebSocket service.
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<h2 class="Section">Extension Methods</h2>
|
|
<div class="SectionBox" id="Extension Methods">
|
|
<div class="SubsectionBox">
|
|
<table class="TypeMembers">
|
|
<tr valign="top">
|
|
<td>
|
|
<div>static </div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull<T></a>
|
|
</b>(<i>this</i> <a href="javascript:alert("Documentation not found.")">T</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
|
Determines whether the specified object is <tt>null</tt>.
|
|
</blockquote></td>
|
|
</tr>
|
|
<tr valign="top">
|
|
<td>
|
|
<div>static </div>
|
|
</td>
|
|
<td colspan="2">
|
|
<b>
|
|
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNullDo``1(``0,System.Action)">IsNullDo<T></a>
|
|
</b>(<i>this</i> <a href="javascript:alert("Documentation not found.")">T</a>, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
|
Determines whether the specified object is <tt>null</tt>.
|
|
And invokes the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Action">Action</a> delegate if the specified object is <tt>null</tt>.
|
|
</blockquote></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="Members" id="T:WebSocketSharp.Server.WebSocketServiceHost`1:Members">
|
|
<h2 class="Section" id="MemberDetails">Member Details</h2>
|
|
<div class="SectionBox" id="_MemberDetails">
|
|
<h3 id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32)">WebSocketServiceHost Constructor</h3>
|
|
<blockquote id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32):member">
|
|
<p class="Summary">
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>port</i>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <b>WebSocketServiceHost</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> port)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>port</i>
|
|
</dt>
|
|
<dd>
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a port number.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.String)">WebSocketServiceHost Constructor</h3>
|
|
<blockquote id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.String):member">
|
|
<p class="Summary">
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified WebSocket URL.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <b>WebSocketServiceHost</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> url)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.String):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>url</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a WebSocket URL.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.String):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.String):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.Boolean)">WebSocketServiceHost Constructor</h3>
|
|
<blockquote id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.Boolean):member">
|
|
<p class="Summary">
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>port</i> and <i>secure</i>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <b>WebSocketServiceHost</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> port, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> secure)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.Boolean):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>port</i>
|
|
</dt>
|
|
<dd>
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a port number.
|
|
</dd>
|
|
<dt>
|
|
<i>secure</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> that indicates providing a secure connection or not. (<tt>true</tt> indicates providing a secure connection.)
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.Boolean):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.Boolean):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String)">WebSocketServiceHost Constructor</h3>
|
|
<blockquote id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String):member">
|
|
<p class="Summary">
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>port</i> and <i>absPath</i>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <b>WebSocketServiceHost</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> port, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> absPath)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>port</i>
|
|
</dt>
|
|
<dd>
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a port number.
|
|
</dd>
|
|
<dt>
|
|
<i>absPath</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains an absolute path.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String,System.Boolean)">WebSocketServiceHost Constructor</h3>
|
|
<blockquote id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String,System.Boolean):member">
|
|
<p class="Summary">
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>port</i>, <i>absPath</i> and <i>secure</i>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <b>WebSocketServiceHost</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> port, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> absPath, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> secure)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String,System.Boolean):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>port</i>
|
|
</dt>
|
|
<dd>
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a port number.
|
|
</dd>
|
|
<dt>
|
|
<i>absPath</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains an absolute path.
|
|
</dd>
|
|
<dt>
|
|
<i>secure</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> that indicates providing a secure connection or not. (<tt>true</tt> indicates providing a secure connection.)
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String,System.Boolean):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Int32,System.String,System.Boolean):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String)">WebSocketServiceHost Constructor</h3>
|
|
<blockquote id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String):member">
|
|
<p class="Summary">
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>address</i>, <i>port</i> and <i>absPath</i>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <b>WebSocketServiceHost</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.IPAddress">System.Net.IPAddress</a> address, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> port, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> absPath)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>address</i>
|
|
</dt>
|
|
<dd>
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.IPAddress">System.Net.IPAddress</a> that contains an IP address.
|
|
</dd>
|
|
<dt>
|
|
<i>port</i>
|
|
</dt>
|
|
<dd>
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a port number.
|
|
</dd>
|
|
<dt>
|
|
<i>absPath</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains an absolute path.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String,System.Boolean)">WebSocketServiceHost Constructor</h3>
|
|
<blockquote id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String,System.Boolean):member">
|
|
<p class="Summary">
|
|
Initializes a new instance of the WebSocketServiceHost<T> class that listens for incoming connection attempts
|
|
on the specified <i>address</i>, <i>port</i>, <i>absPath</i> and <i>secure</i>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <b>WebSocketServiceHost</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.IPAddress">System.Net.IPAddress</a> address, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> port, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> absPath, <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> secure)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String,System.Boolean):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>address</i>
|
|
</dt>
|
|
<dd>
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.IPAddress">System.Net.IPAddress</a> that contains an IP address.
|
|
</dd>
|
|
<dt>
|
|
<i>port</i>
|
|
</dt>
|
|
<dd>
|
|
An <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Int32">int</a> that contains a port number.
|
|
</dd>
|
|
<dt>
|
|
<i>absPath</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains an absolute path.
|
|
</dd>
|
|
<dt>
|
|
<i>secure</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> that indicates providing a secure connection or not. (<tt>true</tt> indicates providing a secure connection.)
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String,System.Boolean):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="C:WebSocketSharp.Server.WebSocketServiceHost`1(System.Net.IPAddress,System.Int32,System.String,System.Boolean):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceHost`1.AcceptWebSocket(System.Net.Sockets.TcpClient)">AcceptWebSocket Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceHost`1.AcceptWebSocket(System.Net.Sockets.TcpClient):member">
|
|
<p class="Summary">
|
|
Accepts the WebSocket connection.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">protected override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>AcceptWebSocket</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpClient">System.Net.Sockets.TcpClient</a> client)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.AcceptWebSocket(System.Net.Sockets.TcpClient):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>client</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Net.Sockets.TcpClient">System.Net.Sockets.TcpClient</a> that contains the TCP connection.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.AcceptWebSocket(System.Net.Sockets.TcpClient):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.AcceptWebSocket(System.Net.Sockets.TcpClient):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadcast(System.String)">Broadcast Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadcast(System.String):member">
|
|
<p class="Summary">
|
|
Broadcasts the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a>.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Broadcast</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> data)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadcast(System.String):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>data</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to broadcast.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadcast(System.String):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadcast(System.String):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadping(System.String)">Broadping Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadping(System.String):member">
|
|
<p class="Summary">
|
|
Pings with the specified <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> to all clients.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Collections.Generic.Dictionary`2">Dictionary<string, bool></a> <b>Broadping</b> (<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> message)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadping(System.String):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>message</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains a message.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h4 class="Subsection">Returns</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadping(System.String):Returns">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadping(System.String):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Broadping(System.String):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Stop">Stop Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Stop:member">
|
|
<p class="Summary">
|
|
Stops receiving the WebSocket connection requests.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public override <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>Stop</b> ()</div>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Stop:Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.Stop:Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped">Sweeped Property</h3>
|
|
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:member">
|
|
<p class="Summary">
|
|
Gets or sets a value indicating whether the server cleans up the inactive client.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a> <b>Sweeped</b> { get; set; }</div>
|
|
<h4 class="Subsection">Value</h4>
|
|
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:Value">
|
|
<tt>true</tt> if the server cleans up the inactive client; otherwise, <tt>false</tt>.
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Sweeped:Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Uri">Uri Property</h3>
|
|
<blockquote id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Uri:member">
|
|
<p class="Summary">
|
|
Gets the WebSocket URL on which to listen for incoming connection attempts.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">public <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a> <b>Uri</b> { get; }</div>
|
|
<h4 class="Subsection">Value</h4>
|
|
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Uri:Value">
|
|
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Uri">Uri</a> that contains a WebSocket URL.
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Uri:Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="P:WebSocketSharp.Server.WebSocketServiceHost`1.Uri:Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
<h3 id="M:WebSocketSharp.Server.WebSocketServiceHost`1.WebSocketSharp#Server#IServiceHost#BindWebSocket(WebSocketSharp.WebSocket)">WebSocketSharp.Server.IServiceHost.BindWebSocket Method</h3>
|
|
<blockquote id="M:WebSocketSharp.Server.WebSocketServiceHost`1.WebSocketSharp#Server#IServiceHost#BindWebSocket(WebSocketSharp.WebSocket):member">
|
|
<p class="Summary">
|
|
Binds the specified <a href="../WebSocketSharp/WebSocket.html">WebSocketSharp.WebSocket</a> instance to the WebSocket service.
|
|
</p>
|
|
<h2>Syntax</h2>
|
|
<div class="Signature">
|
|
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Void">void</a> <b>WebSocketSharp.Server.IServiceHost.BindWebSocket</b> (<a href="../WebSocketSharp/WebSocket.html">WebSocketSharp.WebSocket</a> socket)</div>
|
|
<h4 class="Subsection">Parameters</h4>
|
|
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.WebSocketSharp#Server#IServiceHost#BindWebSocket(WebSocketSharp.WebSocket):Parameters">
|
|
<dl>
|
|
<dt>
|
|
<i>socket</i>
|
|
</dt>
|
|
<dd>
|
|
A <a href="../WebSocketSharp/WebSocket.html">WebSocketSharp.WebSocket</a> to bind.
|
|
</dd>
|
|
</dl>
|
|
</blockquote>
|
|
<h2 class="Section">Remarks</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.WebSocketSharp#Server#IServiceHost#BindWebSocket(WebSocketSharp.WebSocket):Remarks">
|
|
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
|
</div>
|
|
<h2 class="Section">Requirements</h2>
|
|
<div class="SectionBox" id="M:WebSocketSharp.Server.WebSocketServiceHost`1.WebSocketSharp#Server#IServiceHost#BindWebSocket(WebSocketSharp.WebSocket):Version Information">
|
|
<b>Namespace: </b>WebSocketSharp.Server<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
|
|
<hr size="1" />
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
<hr size="1" />
|
|
<div class="Copyright">
|
|
</div>
|
|
</body>
|
|
</html> |