You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

697 lines
24 KiB
HTML

<html>
<head>
<title>WebSocketSharp.Net.HttpStatusCode</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.Net Namespace</a></div>
<div class="SideBar">
<p>
<a href="#T:WebSocketSharp.Net.HttpStatusCode">Overview</a>
</p>
<p>
<a href="#T:WebSocketSharp.Net.HttpStatusCode:Signature">Signature</a>
</p>
<p>
<a href="#T:WebSocketSharp.Net.HttpStatusCode:Docs">Remarks</a>
</p>
<p>
<a href="#Members">Members</a>
</p>
<p>
<a href="#T:WebSocketSharp.Net.HttpStatusCode:Members">Member Details</a>
</p>
</div>
<h1 class="PageTitle" id="T:WebSocketSharp.Net.HttpStatusCode">HttpStatusCode Enum</h1>
<p class="Summary" id="T:WebSocketSharp.Net.HttpStatusCode:Summary">
Contains the values of the HTTP status codes.
</p>
<div id="T:WebSocketSharp.Net.HttpStatusCode:Signature">
<h2>Syntax</h2>
<div class="Signature">public enum <b>HttpStatusCode</b></div>
</div>
<div class="Remarks" id="T:WebSocketSharp.Net.HttpStatusCode:Docs">
<h2 class="Section">Remarks</h2>
<div class="SectionBox" id="T:WebSocketSharp.Net.HttpStatusCode:Docs:Remarks">
The HttpStatusCode enumeration contains the values of the HTTP status codes defined in
RFC 2616 for HTTP 1.1.
</div>
<h2 class="Section">Members</h2>
<div class="SectionBox" id="T:WebSocketSharp.Net.HttpStatusCode:Docs:Members">
<table class="Enumeration">
<tr>
<th>Member Name</th>
<th>Description</th>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Accepted">
<b>Accepted</b>
</td>
<td>
Equivalent to status code 202. Indicates that the client's request has been accepted for processing,
but the processing has not been completed.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Ambiguous">
<b>Ambiguous</b>
</td>
<td>
<p>
Equivalent to status code 300. Indicates that the requested resource corresponds to
any one of multiple representations.
</p>
<p>
Ambiguous is a synonym for MultipleChoices.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.BadGateway">
<b>BadGateway</b>
</td>
<td>
Equivalent to status code 502. Indicates that a gateway or proxy server received an invalid response
from the upstream server.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.BadRequest">
<b>BadRequest</b>
</td>
<td>
Equivalent to status code 400. Indicates that the client's request could not be understood
by the server due to malformed syntax.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Conflict">
<b>Conflict</b>
</td>
<td>
Equivalent to status code 409. Indicates that the client's request could not be completed
due to a conflict on the server.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Continue">
<b>Continue</b>
</td>
<td>
Equivalent to status code 100. Indicates that the client should continue with its request.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Created">
<b>Created</b>
</td>
<td>
Equivalent to status code 201. Indicates that the client's request has been fulfilled
and resulted in a new resource being created.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.ExpectationFailed">
<b>ExpectationFailed</b>
</td>
<td>
Equivalent to status code 417. Indicates that the expectation given in an Expect request header field
could not be met by the server.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Forbidden">
<b>Forbidden</b>
</td>
<td>
Equivalent to status code 403. Indicates that the server understood the client's request
but is refusing to fulfill it.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Found">
<b>Found</b>
</td>
<td>
<p>
Equivalent to status code 302. Indicates that the requested resource is located temporarily
under a different URI.
</p>
<p>
Found is a synonym for Redirect.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.GatewayTimeout">
<b>GatewayTimeout</b>
</td>
<td>
Equivalent to status code 504. Indicates that a gateway or proxy server did not receive a timely response
from the upstream server or some other auxiliary server.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Gone">
<b>Gone</b>
</td>
<td>
Equivalent to status code 410. Indicates that the requested resource is no longer available
at the server and no forwarding address is known.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.HttpVersionNotSupported">
<b>HttpVersionNotSupported</b>
</td>
<td>
Equivalent to status code 505. Indicates that the server does not support the HTTP version
used in the client's request.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.InternalServerError">
<b>InternalServerError</b>
</td>
<td>
Equivalent to status code 500. Indicates that the server encountered an unexpected condition
which prevented it from fulfilling the client's request.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.LengthRequired">
<b>LengthRequired</b>
</td>
<td>
Equivalent to status code 411. Indicates that the server refuses to accept the client's request
without a defined Content-Length.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.MethodNotAllowed">
<b>MethodNotAllowed</b>
</td>
<td>
Equivalent to status code 405. Indicates that the method specified in the request line
is not allowed for the resource identified by the request URI.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Moved">
<b>Moved</b>
</td>
<td>
<p>
Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
and any future references to this resource should use one of the returned URIs.
</p>
<p>
Moved is a synonym for MovedPermanently.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.MovedPermanently">
<b>MovedPermanently</b>
</td>
<td>
<p>
Equivalent to status code 301. Indicates that the requested resource has been assigned a new permanent URI
and any future references to this resource should use one of the returned URIs.
</p>
<p>
MovedPermanently is a synonym for Moved.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.MultipleChoices">
<b>MultipleChoices</b>
</td>
<td>
<p>
Equivalent to status code 300. Indicates that the requested resource corresponds to
any one of multiple representations.
</p>
<p>
MultipleChoices is a synonym for Ambiguous.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.NoContent">
<b>NoContent</b>
</td>
<td>
Equivalent to status code 204. Indicates that the server has fulfilled the client's request
but does not need to return an entity-body.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.NonAuthoritativeInformation">
<b>NonAuthoritativeInformation</b>
</td>
<td>
Equivalent to status code 203. Indicates that the returned metainformation is from a local or a third-party copy instead of the origin server.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.NotAcceptable">
<b>NotAcceptable</b>
</td>
<td>
Equivalent to status code 406. Indicates that the server does not have the appropriate resource
to respond to the accept headers in the client's request.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.NotFound">
<b>NotFound</b>
</td>
<td>
Equivalent to status code 404. Indicates that the server has not found anything
matching the request URI.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.NotImplemented">
<b>NotImplemented</b>
</td>
<td>
Equivalent to status code 501. Indicates that the server does not support the functionality
required to fulfill the client's request.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.NotModified">
<b>NotModified</b>
</td>
<td>
Equivalent to status code 304. Indicates that the client has performed a conditional GET request
and access is allowed, but the document has not been modified.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.OK">
<b>OK</b>
</td>
<td>
Equivalent to status code 200. Indicates that the client's request has succeeded.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.PartialContent">
<b>PartialContent</b>
</td>
<td>
Equivalent to status code 206. Indicates that the server has fulfilled the partial GET request for the resource.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.PaymentRequired">
<b>PaymentRequired</b>
</td>
<td>
Equivalent to status code 402. This code is reserved for future use.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.PreconditionFailed">
<b>PreconditionFailed</b>
</td>
<td>
Equivalent to status code 412. Indicates that the precondition given in one or more of the request header fields
evaluated to false when it was tested on the server.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.ProxyAuthenticationRequired">
<b>ProxyAuthenticationRequired</b>
</td>
<td>
Equivalent to status code 407. Indicates that the client must first authenticate itself with the proxy.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Redirect">
<b>Redirect</b>
</td>
<td>
<p>
Equivalent to status code 302. Indicates that the requested resource is located temporarily
under a different URI.
</p>
<p>
Redirect is a synonym for Found.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.RedirectKeepVerb">
<b>RedirectKeepVerb</b>
</td>
<td>
<p>
Equivalent to status code 307. Indicates that the requested resource is located temporarily
under a different URI.
</p>
<p>
RedirectKeepVerb is a synonym for TemporaryRedirect.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.RedirectMethod">
<b>RedirectMethod</b>
</td>
<td>
<p>
Equivalent to status code 303. Indicates that the response to the request can be found
under a different URI and should be retrieved using a GET method on that resource.
</p>
<p>
RedirectMethod is a synonym for SeeOther.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.RequestedRangeNotSatisfiable">
<b>RequestedRangeNotSatisfiable</b>
</td>
<td>
Equivalent to status code 416. Indicates that none of the range specifier values in a Range request header field
overlap the current extent of the selected resource.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.RequestEntityTooLarge">
<b>RequestEntityTooLarge</b>
</td>
<td>
Equivalent to status code 413. Indicates that the client's request entity is larger
than the server is willing or able to process.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.RequestTimeout">
<b>RequestTimeout</b>
</td>
<td>
Equivalent to status code 408. Indicates that the client did not produce a request
within the time that the server was prepared to wait.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.RequestUriTooLong">
<b>RequestUriTooLong</b>
</td>
<td>
Equivalent to status code 414. Indicates that the request URI is longer
than the server is willing to interpret.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.ResetContent">
<b>ResetContent</b>
</td>
<td>
Equivalent to status code 205. Indicates that the server has fulfilled the client's request
and the user agent should reset the document view which caused the request to be sent.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.SeeOther">
<b>SeeOther</b>
</td>
<td>
<p>
Equivalent to status code 303. Indicates that the response to the request can be found
under a different URI and should be retrieved using a GET method on that resource.
</p>
<p>
SeeOther is a synonym for RedirectMethod.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.ServiceUnavailable">
<b>ServiceUnavailable</b>
</td>
<td>
Equivalent to status code 503. Indicates that the server is currently unable to handle the client's request
due to a temporary overloading or maintenance of the server.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.SwitchingProtocols">
<b>SwitchingProtocols</b>
</td>
<td>
Equivalent to status code 101. Indicates that the server is switching the HTTP version or protocol on the connection.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.TemporaryRedirect">
<b>TemporaryRedirect</b>
</td>
<td>
<p>
Equivalent to status code 307. Indicates that the requested resource is located temporarily
under a different URI.
</p>
<p>
TemporaryRedirect is a synonym for RedirectKeepVerb.
</p>
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Unauthorized">
<b>Unauthorized</b>
</td>
<td>
Equivalent to status code 401. Indicates that the client's request requires user authentication.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.UnsupportedMediaType">
<b>UnsupportedMediaType</b>
</td>
<td>
Equivalent to status code 415. Indicates that the entity of the client's request is in a format
not supported by the requested resource for the requested method.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.Unused">
<b>Unused</b>
</td>
<td>
Equivalent to status code 306. This code was used in a previous version of the specification,
is no longer used, and is reserved for future use.
</td>
</tr>
<tr valign="top">
<td id="F:WebSocketSharp.Net.HttpStatusCode.UseProxy">
<b>UseProxy</b>
</td>
<td>
Equivalent to status code 305. Indicates that the requested resource must be accessed
through the proxy given by the Location field.
</td>
</tr>
</table>
</div>
<h2 class="Section">Requirements</h2>
<div class="SectionBox" id="T:WebSocketSharp.Net.HttpStatusCode:Docs:Version Information">
<b>Namespace: </b>WebSocketSharp.Net<br /><b>Assembly: </b>websocket-sharp (in websocket-sharp.dll)</div>
</div>
<div class="Members" id="T:WebSocketSharp.Net.HttpStatusCode:Members">
</div>
<hr size="1" />
<div class="Copyright">
</div>
</body>
</html>