Modified HttpListener.cs
This commit is contained in:
parent
371c379a19
commit
f38d98f966
@ -4,9 +4,10 @@
|
||||
//
|
||||
// Author:
|
||||
// Gonzalo Paniagua Javier (gonzalo@novell.com)
|
||||
// sta (sta.blockhead@gmail.com)
|
||||
//
|
||||
// Copyright (c) 2005 Novell, Inc. (http://www.novell.com)
|
||||
// Copyright (c) 2012-2013 sta.blockhead (sta.blockhead@gmail.com)
|
||||
// Copyright (c) 2012-2013 sta.blockhead
|
||||
//
|
||||
// Permission is hereby granted, free of charge, to any person obtaining
|
||||
// a copy of this software and associated documentation files (the
|
||||
@ -41,7 +42,7 @@ namespace WebSocketSharp.Net {
|
||||
/// </summary>
|
||||
public sealed class HttpListener : IDisposable {
|
||||
|
||||
#region Fields
|
||||
#region Private Fields
|
||||
|
||||
AuthenticationSchemes auth_schemes;
|
||||
AuthenticationSchemeSelector auth_selector;
|
||||
@ -58,7 +59,7 @@ namespace WebSocketSharp.Net {
|
||||
|
||||
#endregion
|
||||
|
||||
#region Constructor
|
||||
#region Public Constructors
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="HttpListener"/> class.
|
||||
@ -75,7 +76,7 @@ namespace WebSocketSharp.Net {
|
||||
|
||||
#endregion
|
||||
|
||||
#region Properties
|
||||
#region Public Properties
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the scheme used to authenticate the clients.
|
||||
@ -84,9 +85,15 @@ namespace WebSocketSharp.Net {
|
||||
/// One of the <see cref="AuthenticationSchemes"/> values that indicates the scheme used to
|
||||
/// authenticate the clients. The default value is <see cref="AuthenticationSchemes.Anonymous"/>.
|
||||
/// </value>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public AuthenticationSchemes AuthenticationSchemes {
|
||||
// TODO: Digest, NTLM and Negotiate require ControlPrincipal
|
||||
get { return auth_schemes; }
|
||||
// TODO: Digest, NTLM and Negotiate require ControlPrincipal
|
||||
get {
|
||||
CheckDisposed ();
|
||||
return auth_schemes;
|
||||
}
|
||||
set {
|
||||
CheckDisposed ();
|
||||
auth_schemes = value;
|
||||
@ -100,16 +107,36 @@ namespace WebSocketSharp.Net {
|
||||
/// A <see cref="AuthenticationSchemeSelector"/> delegate that invokes the method(s) used to select
|
||||
/// an authentication scheme. The default value is <see langword="null"/>.
|
||||
/// </value>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public AuthenticationSchemeSelector AuthenticationSchemeSelectorDelegate {
|
||||
get { return auth_selector; }
|
||||
get {
|
||||
CheckDisposed ();
|
||||
return auth_selector;
|
||||
}
|
||||
set {
|
||||
CheckDisposed ();
|
||||
auth_selector = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether the <see cref="HttpListener"/> returns exceptions
|
||||
/// that occur when sending the response to the client.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// <c>true</c> if does not return exceptions that occur when sending the response to the client;
|
||||
/// otherwise, <c>false</c>. The default value is <c>false</c>.
|
||||
/// </value>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public bool IgnoreWriteExceptions {
|
||||
get { return ignore_write_exceptions; }
|
||||
get {
|
||||
CheckDisposed ();
|
||||
return ignore_write_exceptions;
|
||||
}
|
||||
set {
|
||||
CheckDisposed ();
|
||||
ignore_write_exceptions = value;
|
||||
@ -142,6 +169,9 @@ namespace WebSocketSharp.Net {
|
||||
/// <value>
|
||||
/// A <see cref="HttpListenerPrefixCollection"/> that contains the URI prefixes.
|
||||
/// </value>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public HttpListenerPrefixCollection Prefixes {
|
||||
get {
|
||||
CheckDisposed ();
|
||||
@ -155,18 +185,39 @@ namespace WebSocketSharp.Net {
|
||||
/// <value>
|
||||
/// A <see cref="string"/> that contains the name of the realm.
|
||||
/// </value>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public string Realm {
|
||||
// TODO: Use this
|
||||
get { return realm; }
|
||||
// TODO: Use this
|
||||
get {
|
||||
CheckDisposed ();
|
||||
return realm;
|
||||
}
|
||||
set {
|
||||
CheckDisposed ();
|
||||
realm = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether, when NTLM authentication is used,
|
||||
/// the authentication information of first request is used to authenticate
|
||||
/// additional requests on the same connection.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// <c>true</c> if the authentication information of first request is used;
|
||||
/// otherwise, <c>false</c>. The default value is <c>false</c>.
|
||||
/// </value>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public bool UnsafeConnectionNtlmAuthentication {
|
||||
// TODO: Support for NTLM needs some loving.
|
||||
get { return unsafe_ntlm_auth; }
|
||||
// TODO: Support for NTLM needs some loving.
|
||||
get {
|
||||
CheckDisposed ();
|
||||
return unsafe_ntlm_auth;
|
||||
}
|
||||
set {
|
||||
CheckDisposed ();
|
||||
unsafe_ntlm_auth = value;
|
||||
@ -331,22 +382,6 @@ namespace WebSocketSharp.Net {
|
||||
|
||||
#endregion
|
||||
|
||||
#region Explicit Interface Implementation
|
||||
|
||||
/// <summary>
|
||||
/// Releases all resource used by the <see cref="HttpListener"/>.
|
||||
/// </summary>
|
||||
void IDisposable.Dispose ()
|
||||
{
|
||||
if (disposed)
|
||||
return;
|
||||
|
||||
Close (true); // TODO: Should we force here or not?
|
||||
disposed = true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Public Methods
|
||||
|
||||
/// <summary>
|
||||
@ -378,6 +413,9 @@ namespace WebSocketSharp.Net {
|
||||
/// <param name="state">
|
||||
/// An <see cref="object"/> that contains a user defined object to pass to the <paramref name="callback"/> delegate.
|
||||
/// </param>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
/// <exception cref="InvalidOperationException">
|
||||
/// The <see cref="HttpListener"/> has not been started or is stopped currently.
|
||||
/// </exception>
|
||||
@ -429,6 +467,9 @@ namespace WebSocketSharp.Net {
|
||||
/// <param name="asyncResult">
|
||||
/// An <see cref="IAsyncResult"/> obtained by calling the <see cref="BeginGetContext"/> method.
|
||||
/// </param>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
/// <exception cref="ArgumentNullException">
|
||||
/// <paramref name="asyncResult"/> is <see langword="null"/>.
|
||||
/// </exception>
|
||||
@ -477,7 +518,18 @@ namespace WebSocketSharp.Net {
|
||||
/// A <see cref="HttpListenerContext"/> that contains a client's request information.
|
||||
/// </returns>
|
||||
/// <exception cref="InvalidOperationException">
|
||||
/// <para>
|
||||
/// The <see cref="HttpListener"/> does not have any URI prefixes to listen on.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// -or-
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The <see cref="HttpListener"/> has not been started or is stopped currently.
|
||||
/// </para>
|
||||
/// </exception>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public HttpListenerContext GetContext ()
|
||||
{
|
||||
@ -493,6 +545,9 @@ namespace WebSocketSharp.Net {
|
||||
/// <summary>
|
||||
/// Starts to receive incoming requests.
|
||||
/// </summary>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public void Start ()
|
||||
{
|
||||
CheckDisposed ();
|
||||
@ -506,6 +561,9 @@ namespace WebSocketSharp.Net {
|
||||
/// <summary>
|
||||
/// Stops receiving incoming requests.
|
||||
/// </summary>
|
||||
/// <exception cref="ObjectDisposedException">
|
||||
/// This object has been closed.
|
||||
/// </exception>
|
||||
public void Stop ()
|
||||
{
|
||||
CheckDisposed ();
|
||||
@ -518,5 +576,21 @@ namespace WebSocketSharp.Net {
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Explicit Interface Implementation
|
||||
|
||||
/// <summary>
|
||||
/// Releases all resource used by the <see cref="HttpListener"/>.
|
||||
/// </summary>
|
||||
void IDisposable.Dispose ()
|
||||
{
|
||||
if (disposed)
|
||||
return;
|
||||
|
||||
Close (true); // TODO: Should we force here or not?
|
||||
disposed = true;
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
Binary file not shown.
@ -2141,6 +2141,9 @@
|
||||
One of the <see cref="T:WebSocketSharp.Net.AuthenticationSchemes" /> values that indicates the scheme used to
|
||||
authenticate the clients. The default value is <see cref="F:WebSocketSharp.Net.AuthenticationSchemes.Anonymous" />.
|
||||
</value>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Net.HttpListener.AuthenticationSchemeSelectorDelegate">
|
||||
<summary>
|
||||
@ -2150,6 +2153,22 @@
|
||||
A <see cref="T:WebSocketSharp.Net.AuthenticationSchemeSelector" /> delegate that invokes the method(s) used to select
|
||||
an authentication scheme. The default value is <see langword="null" />.
|
||||
</value>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Net.HttpListener.IgnoreWriteExceptions">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the <see cref="T:WebSocketSharp.Net.HttpListener" /> returns exceptions
|
||||
that occur when sending the response to the client.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if does not return exceptions that occur when sending the response to the client;
|
||||
otherwise, <c>false</c>. The default value is <c>false</c>.
|
||||
</value>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Net.HttpListener.IsListening">
|
||||
<summary>
|
||||
@ -2174,6 +2193,9 @@
|
||||
<value>
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerPrefixCollection" /> that contains the URI prefixes.
|
||||
</value>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Net.HttpListener.Realm">
|
||||
<summary>
|
||||
@ -2182,6 +2204,23 @@
|
||||
<value>
|
||||
A <see cref="T:System.String" /> that contains the name of the realm.
|
||||
</value>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="P:WebSocketSharp.Net.HttpListener.UnsafeConnectionNtlmAuthentication">
|
||||
<summary>
|
||||
Gets or sets a value indicating whether, when NTLM authentication is used,
|
||||
the authentication information of first request is used to authenticate
|
||||
additional requests on the same connection.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the authentication information of first request is used;
|
||||
otherwise, <c>false</c>. The default value is <c>false</c>.
|
||||
</value>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Net.HttpListener.System#IDisposable#Dispose">
|
||||
<summary>
|
||||
@ -2211,6 +2250,9 @@
|
||||
<param name="state">
|
||||
An <see cref="T:System.Object" /> that contains a user defined object to pass to the <paramref name="callback" /> delegate.
|
||||
</param>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
The <see cref="T:WebSocketSharp.Net.HttpListener" /> has not been started or is stopped currently.
|
||||
</exception>
|
||||
@ -2233,6 +2275,9 @@
|
||||
<param name="asyncResult">
|
||||
An <see cref="T:System.IAsyncResult" /> obtained by calling the <see cref="M:WebSocketSharp.Net.HttpListener.BeginGetContext(System.AsyncCallback,System.Object)" /> method.
|
||||
</param>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
<exception cref="T:System.ArgumentNullException">
|
||||
<paramref name="asyncResult" /> is <see langword="null" />.
|
||||
</exception>
|
||||
@ -2255,18 +2300,35 @@
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerContext" /> that contains a client's request information.
|
||||
</returns>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<para>
|
||||
The <see cref="T:WebSocketSharp.Net.HttpListener" /> does not have any URI prefixes to listen on.
|
||||
</para>
|
||||
<para>
|
||||
-or-
|
||||
</para>
|
||||
<para>
|
||||
The <see cref="T:WebSocketSharp.Net.HttpListener" /> has not been started or is stopped currently.
|
||||
</para>
|
||||
</exception>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Net.HttpListener.Start">
|
||||
<summary>
|
||||
Starts to receive incoming requests.
|
||||
</summary>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="M:WebSocketSharp.Net.HttpListener.Stop">
|
||||
<summary>
|
||||
Stops receiving incoming requests.
|
||||
</summary>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</member>
|
||||
<member name="T:WebSocketSharp.Net.HttpListenerContext">
|
||||
<summary>
|
||||
|
@ -300,7 +300,10 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Gets or sets a value indicating whether the <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> returns exceptions
|
||||
that occur when sending the response to the client.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>[read-only]<div></div></td>
|
||||
@ -374,7 +377,11 @@
|
||||
<td>
|
||||
<i>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a>
|
||||
</i>. <span class="NotEntered">Documentation for this section has not yet been entered.</span></td>
|
||||
</i>.
|
||||
Gets or sets a value indicating whether, when NTLM authentication is used,
|
||||
the authentication information of first request is used to authenticate
|
||||
additional requests on the same connection.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
@ -502,7 +509,7 @@
|
||||
<td colspan="2">
|
||||
<b>
|
||||
<a href="../WebSocketSharp/Ext.html#M:WebSocketSharp.Ext.IsNull``1(``0)">IsNull<T></a>
|
||||
</b>(<i>this</i> <i title="
 The type of the parameter.
 ">T</i>)<nobr> : <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.Boolean">bool</a></nobr><blockquote>
|
||||
</b>(<i>this</i> <i title="
 The type of parameter.
 ">T</i>)<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>
|
||||
@ -570,6 +577,23 @@
|
||||
One of the <a href="../WebSocketSharp.Net/AuthenticationSchemes.html">WebSocketSharp.Net.AuthenticationSchemes</a> values that indicates the scheme used to
|
||||
authenticate the clients. The default value is <a href="../WebSocketSharp.Net/AuthenticationSchemes.html#F:WebSocketSharp.Net.AuthenticationSchemes.Anonymous">AuthenticationSchemes.Anonymous</a>.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.AuthenticationSchemes:Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Net.HttpListener.AuthenticationSchemes:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@ -591,6 +615,23 @@
|
||||
A <a href="../WebSocketSharp.Net/AuthenticationSchemeSelector.html">WebSocketSharp.Net.AuthenticationSchemeSelector</a> delegate that invokes the method(s) used to select
|
||||
an authentication scheme. The default value is <tt>null</tt>.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.AuthenticationSchemeSelectorDelegate:Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Net.HttpListener.AuthenticationSchemeSelectorDelegate:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@ -642,6 +683,14 @@
|
||||
</td>
|
||||
<td>
|
||||
The <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> has not been started or is stopped currently.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -723,6 +772,14 @@
|
||||
</td>
|
||||
<td>
|
||||
The EndGetContext method was already called for the specified <i>asyncResult</i>.
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -759,7 +816,23 @@
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.InvalidOperationException">InvalidOperationException</a>
|
||||
</td>
|
||||
<td>
|
||||
<p>
|
||||
The <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> does not have any URI prefixes to listen on.
|
||||
</p>
|
||||
<p>
|
||||
-or-
|
||||
</p>
|
||||
<p>
|
||||
The <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> has not been started or is stopped currently.
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@ -777,13 +850,32 @@
|
||||
<h3 id="P:WebSocketSharp.Net.HttpListener.IgnoreWriteExceptions">IgnoreWriteExceptions Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Net.HttpListener.IgnoreWriteExceptions:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Gets or sets a value indicating whether the <a href="../WebSocketSharp.Net/HttpListener.html">WebSocketSharp.Net.HttpListener</a> returns exceptions
|
||||
that occur when sending the response to the 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>IgnoreWriteExceptions</b> { get; set; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.IgnoreWriteExceptions:Value">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<tt>true</tt> if does not return exceptions that occur when sending the response to the client;
|
||||
otherwise, <tt>false</tt>. The default value is <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.IgnoreWriteExceptions:Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Net.HttpListener.IgnoreWriteExceptions:Remarks">
|
||||
@ -845,6 +937,23 @@
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.Prefixes:Value">
|
||||
A <a href="../WebSocketSharp.Net/HttpListenerPrefixCollection.html">WebSocketSharp.Net.HttpListenerPrefixCollection</a> that contains the URI prefixes.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.Prefixes:Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Net.HttpListener.Prefixes:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@ -865,6 +974,23 @@
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.Realm:Value">
|
||||
A <a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.String">string</a> that contains the name of the realm.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.Realm:Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Net.HttpListener.Realm:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@ -881,6 +1007,23 @@
|
||||
</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>Start</b> ()</div>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.HttpListener.Start:Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Net.HttpListener.Start:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@ -897,6 +1040,23 @@
|
||||
</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>Stop</b> ()</div>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="M:WebSocketSharp.Net.HttpListener.Stop:Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="M:WebSocketSharp.Net.HttpListener.Stop:Remarks">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
@ -926,13 +1086,33 @@
|
||||
<h3 id="P:WebSocketSharp.Net.HttpListener.UnsafeConnectionNtlmAuthentication">UnsafeConnectionNtlmAuthentication Property</h3>
|
||||
<blockquote id="P:WebSocketSharp.Net.HttpListener.UnsafeConnectionNtlmAuthentication:member">
|
||||
<p class="Summary">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
</p>
|
||||
Gets or sets a value indicating whether, when NTLM authentication is used,
|
||||
the authentication information of first request is used to authenticate
|
||||
additional requests on the same connection.
|
||||
</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>UnsafeConnectionNtlmAuthentication</b> { get; set; }</div>
|
||||
<h4 class="Subsection">Value</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.UnsafeConnectionNtlmAuthentication:Value">
|
||||
<span class="NotEntered">Documentation for this section has not yet been entered.</span>
|
||||
<tt>true</tt> if the authentication information of first request is used;
|
||||
otherwise, <tt>false</tt>. The default value is <tt>false</tt>.
|
||||
</blockquote>
|
||||
<h4 class="Subsection">Exceptions</h4>
|
||||
<blockquote class="SubsectionBox" id="P:WebSocketSharp.Net.HttpListener.UnsafeConnectionNtlmAuthentication:Exceptions">
|
||||
<table class="TypeDocumentation">
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Reason</th>
|
||||
</tr>
|
||||
<tr valign="top">
|
||||
<td>
|
||||
<a href="http://www.go-mono.com/docs/monodoc.ashx?link=T:System.ObjectDisposedException">ObjectDisposedException</a>
|
||||
</td>
|
||||
<td>
|
||||
This object has been closed.
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</blockquote>
|
||||
<h2 class="Section">Remarks</h2>
|
||||
<div class="SectionBox" id="P:WebSocketSharp.Net.HttpListener.UnsafeConnectionNtlmAuthentication:Remarks">
|
||||
|
@ -62,6 +62,9 @@
|
||||
authenticate the clients. The default value is <see cref="F:WebSocketSharp.Net.AuthenticationSchemes.Anonymous" />.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="AuthenticationSchemeSelectorDelegate">
|
||||
@ -80,6 +83,9 @@
|
||||
an authentication scheme. The default value is <see langword="null" />.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="BeginGetContext">
|
||||
@ -114,6 +120,9 @@
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
The <see cref="T:WebSocketSharp.Net.HttpListener" /> has not been started or is stopped currently.
|
||||
</exception>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Close">
|
||||
@ -163,6 +172,9 @@
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
The EndGetContext method was already called for the specified <paramref name="asyncResult" />.
|
||||
</exception>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="GetContext">
|
||||
@ -185,7 +197,18 @@
|
||||
when received the request.
|
||||
</remarks>
|
||||
<exception cref="T:System.InvalidOperationException">
|
||||
<para>
|
||||
The <see cref="T:WebSocketSharp.Net.HttpListener" /> does not have any URI prefixes to listen on.
|
||||
</para>
|
||||
<para>
|
||||
-or-
|
||||
</para>
|
||||
<para>
|
||||
The <see cref="T:WebSocketSharp.Net.HttpListener" /> has not been started or is stopped currently.
|
||||
</para>
|
||||
</exception>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
@ -197,9 +220,18 @@
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<summary>
|
||||
Gets or sets a value indicating whether the <see cref="T:WebSocketSharp.Net.HttpListener" /> returns exceptions
|
||||
that occur when sending the response to the client.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if does not return exceptions that occur when sending the response to the client;
|
||||
otherwise, <c>false</c>. The default value is <c>false</c>.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="IsListening">
|
||||
@ -251,6 +283,9 @@
|
||||
A <see cref="T:WebSocketSharp.Net.HttpListenerPrefixCollection" /> that contains the URI prefixes.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Realm">
|
||||
@ -268,6 +303,9 @@
|
||||
A <see cref="T:System.String" /> that contains the name of the realm.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Start">
|
||||
@ -283,6 +321,9 @@
|
||||
Starts to receive incoming requests.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="Stop">
|
||||
@ -298,6 +339,9 @@
|
||||
Stops receiving incoming requests.
|
||||
</summary>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
<Member MemberName="System.IDisposable.Dispose">
|
||||
@ -323,9 +367,19 @@
|
||||
<ReturnType>System.Boolean</ReturnType>
|
||||
</ReturnValue>
|
||||
<Docs>
|
||||
<summary>To be added.</summary>
|
||||
<value>To be added.</value>
|
||||
<summary>
|
||||
Gets or sets a value indicating whether, when NTLM authentication is used,
|
||||
the authentication information of first request is used to authenticate
|
||||
additional requests on the same connection.
|
||||
</summary>
|
||||
<value>
|
||||
<c>true</c> if the authentication information of first request is used;
|
||||
otherwise, <c>false</c>. The default value is <c>false</c>.
|
||||
</value>
|
||||
<remarks>To be added.</remarks>
|
||||
<exception cref="T:System.ObjectDisposedException">
|
||||
This object has been closed.
|
||||
</exception>
|
||||
</Docs>
|
||||
</Member>
|
||||
</Members>
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Overview>
|
||||
<Assemblies>
|
||||
<Assembly Name="websocket-sharp" Version="1.0.2.41941">
|
||||
<Assembly Name="websocket-sharp" Version="1.0.2.4718">
|
||||
<AssemblyPublicKey>[00 24 00 00 04 80 00 00 94 00 00 00 06 02 00 00 00 24 00 00 52 53 41 31 00 04 00 00 11 00 00 00 29 17 fb 89 fe c3 91 f7 2b cb 8b e2 61 d2 3f 05 93 6d 65 a8 9e 63 72 a6 f5 d5 2c f2 9d 20 fa 0b c0 70 6a f6 88 7e 8b 90 3f 39 f5 76 c8 48 e0 bb 7b b2 7b ed d3 10 a7 1a 0f 70 98 0f 7f f4 4b 53 09 d2 a5 ef 36 c3 56 b4 aa f0 91 72 63 25 07 89 e0 93 3e 3f 2e f2 b9 73 0e 12 15 5d 43 56 c3 f4 70 a5 89 fe f7 f6 ac 3e 77 c2 d8 d0 84 91 f4 0c d1 f3 8e dc c3 c3 b8 38 3d 0c bf 17 de 20 78 c1 ]</AssemblyPublicKey>
|
||||
<Attributes>
|
||||
<Attribute>
|
||||
|
Loading…
Reference in New Issue
Block a user