5 lines
3.0 KiB
HTML
5 lines
3.0 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/tgs_http_result - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/tgs_http_result.html#var">Var Details</a> - <a href="datum/tgs_http_result.html#proc">Proc Details</a></header><main><h1>tgs_http_result <aside>/<a href="datum.html">datum</a>/<a href="datum/tgs_http_result.html">tgs_http_result</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L301"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 301"></a></h1><p>Result of a <a href="datum/tgs_http_handler.html" title="/datum/tgs_http_handler">/datum/tgs_http_handler</a> call. MUST NOT be overridden.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/tgs_http_result.html#var/response_text">response_text</a></th><td>HTTP response as text</td></tr><tr><th><a href="datum/tgs_http_result.html#var/success">success</a></th><td>Boolean request success flag. Set for any 2XX response code.</td></tr><tr><td colspan="2"><h2>Procs</h2></td></tr><tr><th><a href="datum/tgs_http_result.html#proc/New">New</a></th><td>Create a <a href="datum/tgs_http_result.html" title="/datum/tgs_http_result">/datum/tgs_http_result</a>.</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/response_text"><aside class="declaration">var </aside>response_text <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L303"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 303"></a></h3><p>HTTP response as text</p><h3 id="var/success"><aside class="declaration">var </aside>success <aside>– </aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L307"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 307"></a></h3><p>Boolean request success flag. Set for any 2XX response code.</p><h2 id="proc">Proc Details</h2><h3 id="proc/New">New<aside>(response_text, success) <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/__DEFINES/tgs.dm#L313"><img src="git.png" width="16" height="16" title="code/__DEFINES/tgs.dm 313"></a></aside></h3><p>Create a <a href="datum/tgs_http_result.html" title="/datum/tgs_http_result">/datum/tgs_http_result</a>.</p>
|
||
<ul>
|
||
<li>response_text - HTTP response as text. Must be provided in New().</li>
|
||
<li>success - Boolean request success flag. Set for any 2XX response code. Must be provided in New().</li>
|
||
</ul></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |