mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 21:46:52 +01:00
137 lines
16 KiB
HTML
137 lines
16 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
|
<meta name="generator" content="Doxygen 1.9.8"/>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
<title>tgstation-server: src/Tgstation.Server.Host/Authority/Core/HttpFailureResponse.cs Source File</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="search/searchdata.js"></script>
|
|
<script type="text/javascript" src="search/search.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
</head>
|
|
<body>
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr id="projectrow">
|
|
<td id="projectalign">
|
|
<div id="projectname">tgstation-server<span id="projectnumber"> 6.19.3</span>
|
|
</div>
|
|
<div id="projectbrief">The /tg/station 13 server suite</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.9.8 -->
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
|
/* @license-end */
|
|
</script>
|
|
<script type="text/javascript" src="menudata.js"></script>
|
|
<script type="text/javascript" src="menu.js"></script>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(function() {
|
|
initMenu('',true,false,'search.php','Search');
|
|
$(document).ready(function() { init_search(); });
|
|
});
|
|
/* @license-end */
|
|
</script>
|
|
<div id="main-nav"></div>
|
|
<script type="text/javascript">
|
|
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
|
$(document).ready(function() { init_codefold(0); });
|
|
/* @license-end */
|
|
</script>
|
|
<!-- window showing the filter options -->
|
|
<div id="MSearchSelectWindow"
|
|
onmouseover="return searchBox.OnSearchSelectShow()"
|
|
onmouseout="return searchBox.OnSearchSelectHide()"
|
|
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
|
</div>
|
|
|
|
<!-- iframe showing the search results (closed by default) -->
|
|
<div id="MSearchResultsWindow">
|
|
<div id="MSearchResults">
|
|
<div class="SRPage">
|
|
<div id="SRIndex">
|
|
<div id="SRResults"></div>
|
|
<div class="SRStatus" id="Loading">Loading...</div>
|
|
<div class="SRStatus" id="Searching">Searching...</div>
|
|
<div class="SRStatus" id="NoMatches">No Matches</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav-path" class="navpath">
|
|
<ul>
|
|
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_34761767c1c3cd212f9d2f80ea0828a8.html">Tgstation.Server.Host</a></li><li class="navelem"><a class="el" href="dir_7b5e30ed08996bf1ab2c41e458010f21.html">Authority</a></li><li class="navelem"><a class="el" href="dir_ac26146c90963479fc2fc32a1e6e42a1.html">Core</a></li> </ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle"><div class="title">HttpFailureResponse.cs</div></div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<a href="_http_failure_response_8cs.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html">Tgstation.Server.Host.Authority.Core</a></div>
|
|
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span>{</div>
|
|
<div class="foldopen" id="foldopen00006" data-start="{" data-end="};">
|
|
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"><a class="line" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071c"> 6</a></span> <span class="keyword">public</span> <span class="keyword">enum</span> <a class="code hl_enumeration" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071c">HttpFailureResponse</a></div>
|
|
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span> {</div>
|
|
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca9edf8fbf00a57d95a0af4923c9a1ec6f">BadRequest</a>,</div>
|
|
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span> </div>
|
|
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071cae06d1ba70f1331e9f9a113cc2f887d3f">Unauthorized</a>,</div>
|
|
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
|
|
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca722969577a96ca3953e84e3d949dee81">Forbidden</a>,</div>
|
|
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
|
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca38c300f4fc9ce8a77aad4a30de05cad8">NotFound</a>,</div>
|
|
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> </div>
|
|
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071caf83a928e6a3f3b502ffadd2a414ce48c">NotAcceptable</a>,</div>
|
|
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> </div>
|
|
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071caf1d4ac54357cc0932f385d56814ba7e4">Conflict</a>,</div>
|
|
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> </div>
|
|
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca0b497b33b1a05057bc1634e607170bf6">Gone</a>,</div>
|
|
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span> </div>
|
|
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071cabcc63308f9773c816911ce819b314e2c">UnprocessableEntity</a>,</div>
|
|
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> </div>
|
|
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca3e30483e6f8d532c08ac164aebf039fd">FailedDependency</a>,</div>
|
|
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> </div>
|
|
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca50ef7598e6d8e1f977ea8b4687079cbf">RateLimited</a>,</div>
|
|
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> </div>
|
|
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca997ca4ce119685f40f03a9a8a6c5346e">NotImplemented</a>,</div>
|
|
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
|
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> <a class="code hl_enumvalue" href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca2a4581043d849bcb0e4747970ef1489b">ServiceUnavailable</a>,</div>
|
|
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> }</div>
|
|
</div>
|
|
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span>}</div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html">Tgstation.Server.Host.Authority.Core</a></div><div class="ttdef"><b>Definition</b> <a href="_authority_base_8cs_source.html#l00013">AuthorityBase.cs:14</a></div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071c"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071c">Tgstation.Server.Host.Authority.Core.HttpFailureResponse</a></div><div class="ttdeci">HttpFailureResponse</div><div class="ttdoc">Indicates the type of HTTP status code an failing AuthorityResponse should generate.</div><div class="ttdef"><b>Definition</b> <a href="_http_failure_response_8cs_source.html#l00006">HttpFailureResponse.cs:7</a></div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071ca0b497b33b1a05057bc1634e607170bf6"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca0b497b33b1a05057bc1634e607170bf6">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.Gone</a></div><div class="ttdeci">@ Gone</div><div class="ttdoc">HTTP 410.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071ca2a4581043d849bcb0e4747970ef1489b"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca2a4581043d849bcb0e4747970ef1489b">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.ServiceUnavailable</a></div><div class="ttdeci">@ ServiceUnavailable</div><div class="ttdoc">HTTP 503.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071ca38c300f4fc9ce8a77aad4a30de05cad8"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca38c300f4fc9ce8a77aad4a30de05cad8">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.NotFound</a></div><div class="ttdeci">@ NotFound</div><div class="ttdoc">HTTP 404.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071ca3e30483e6f8d532c08ac164aebf039fd"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca3e30483e6f8d532c08ac164aebf039fd">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.FailedDependency</a></div><div class="ttdeci">@ FailedDependency</div><div class="ttdoc">HTTP 424.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071ca50ef7598e6d8e1f977ea8b4687079cbf"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca50ef7598e6d8e1f977ea8b4687079cbf">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.RateLimited</a></div><div class="ttdeci">@ RateLimited</div><div class="ttdoc">HTTP 429.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071ca722969577a96ca3953e84e3d949dee81"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca722969577a96ca3953e84e3d949dee81">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.Forbidden</a></div><div class="ttdeci">@ Forbidden</div><div class="ttdoc">HTTP 403.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071ca997ca4ce119685f40f03a9a8a6c5346e"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca997ca4ce119685f40f03a9a8a6c5346e">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.NotImplemented</a></div><div class="ttdeci">@ NotImplemented</div><div class="ttdoc">HTTP 501.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071ca9edf8fbf00a57d95a0af4923c9a1ec6f"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071ca9edf8fbf00a57d95a0af4923c9a1ec6f">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.BadRequest</a></div><div class="ttdeci">@ BadRequest</div><div class="ttdoc">HTTP 400.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071cabcc63308f9773c816911ce819b314e2c"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071cabcc63308f9773c816911ce819b314e2c">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.UnprocessableEntity</a></div><div class="ttdeci">@ UnprocessableEntity</div><div class="ttdoc">HTTP 422.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071cae06d1ba70f1331e9f9a113cc2f887d3f"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071cae06d1ba70f1331e9f9a113cc2f887d3f">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.Unauthorized</a></div><div class="ttdeci">@ Unauthorized</div><div class="ttdoc">HTTP 401.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071caf1d4ac54357cc0932f385d56814ba7e4"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071caf1d4ac54357cc0932f385d56814ba7e4">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.Conflict</a></div><div class="ttdeci">@ Conflict</div><div class="ttdoc">HTTP 409.</div></div>
|
|
<div class="ttc" id="anamespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core_html_a0014d9d38ddef55b17fc52f0e4bd071caf83a928e6a3f3b502ffadd2a414ce48c"><div class="ttname"><a href="namespace_tgstation_1_1_server_1_1_host_1_1_authority_1_1_core.html#a0014d9d38ddef55b17fc52f0e4bd071caf83a928e6a3f3b502ffadd2a414ce48c">Tgstation.Server.Host.Authority.Core.HttpFailureResponse.NotAcceptable</a></div><div class="ttdeci">@ NotAcceptable</div><div class="ttdoc">HTTP 406.</div></div>
|
|
</div><!-- fragment --></div><!-- contents -->
|
|
<!-- start footer part -->
|
|
<hr class="footer"/><address class="footer"><small>
|
|
Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
|
|
</small></address>
|
|
</body>
|
|
</html>
|