mirror of
https://github.com/actix/actix-website
synced 2025-06-30 16:54:27 +02:00
update stable docs
This commit is contained in:
@ -9,7 +9,7 @@
|
||||
</div><h4 id='method.extensions_mut' class="method"><span id='extensions_mut.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.extensions_mut' class='fnname'>extensions_mut</a>(&self) -> <a class="struct" href="https://doc.rust-lang.org/nightly/core/cell/struct.RefMut.html" title="struct core::cell::RefMut">RefMut</a><<a class="struct" href="../actix_web/struct.Extensions.html" title="struct actix_web::Extensions">Extensions</a>></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/httprequest.rs.html#116-118' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Mutable reference to a the request's extensions</p>
|
||||
</div><h4 id='method.response' class="method"><span id='response.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.response' class='fnname'>response</a>(&self, status: <a class="struct" href="../actix_web/http/struct.StatusCode.html" title="struct actix_web::http::StatusCode">StatusCode</a>, body: <a class="enum" href="../actix_web/enum.Body.html" title="enum actix_web::Body">Body</a>) -> <a class="struct" href="../actix_web/struct.HttpResponse.html" title="struct actix_web::HttpResponse">HttpResponse</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/httprequest.rs.html#129-131' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Create http response</p>
|
||||
</div><h4 id='method.build_response' class="method"><span id='build_response.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.build_response' class='fnname'>build_response</a>(&self, status: <a class="struct" href="../actix_web/http/struct.StatusCode.html" title="struct actix_web::http::StatusCode">StatusCode</a>) -> <a class="struct" href="../actix_web/dev/struct.HttpResponseBuilder.html" title="struct actix_web::dev::HttpResponseBuilder">HttpResponseBuilder</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/httprequest.rs.html#135-139' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Create http response builder</p>
|
||||
</div><h4 id='method.uri' class="method"><span id='uri.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.uri' class='fnname'>uri</a>(&self) -> &<a class="struct" href="https://docs.rs/http/0.1.7/http/uri/struct.Uri.html" title="struct http::uri::Uri">Uri</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/httprequest.rs.html#143-145' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Read the Request Uri.</p>
|
||||
</div><h4 id='method.uri' class="method"><span id='uri.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.uri' class='fnname'>uri</a>(&self) -> &<a class="struct" href="https://docs.rs/http/0.1.8/http/uri/struct.Uri.html" title="struct http::uri::Uri">Uri</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/httprequest.rs.html#143-145' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Read the Request Uri.</p>
|
||||
</div><h4 id='method.method' class="method"><span id='method.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.method' class='fnname'>method</a>(&self) -> &<a class="struct" href="../actix_web/http/struct.Method.html" title="struct actix_web::http::Method">Method</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/httprequest.rs.html#149-151' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Read the Request method.</p>
|
||||
</div><h4 id='method.version' class="method"><span id='version.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.version' class='fnname'>version</a>(&self) -> <a class="struct" href="../actix_web/http/struct.Version.html" title="struct actix_web::http::Version">Version</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/httprequest.rs.html#155-157' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Read the Request Version.</p>
|
||||
</div><h4 id='method.path' class="method"><span id='path.v' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.path' class='fnname'>path</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/httprequest.rs.html#161-163' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>The target path of this Request.</p>
|
||||
@ -55,7 +55,7 @@ access the matched value for that segment.</p>
|
||||
<h2 id='deref-methods' class='small-section-header'>
|
||||
Methods from <a class="trait" href="https://doc.rust-lang.org/nightly/core/ops/deref/trait.Deref.html" title="trait core::ops::deref::Deref">Deref</a><Target = <a class="struct" href="../actix_web/struct.Request.html" title="struct actix_web::Request">Request</a>><a href='#deref-methods' class='anchor'></a>
|
||||
</h2>
|
||||
<div class='impl-items'><h4 id='method.uri-1' class="method"><span id='uri.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.uri-1' class='fnname'>uri</a>(&self) -> &<a class="struct" href="https://docs.rs/http/0.1.7/http/uri/struct.Uri.html" title="struct http::uri::Uri">Uri</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/server/message.rs.html#106-108' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Read the Request Uri.</p>
|
||||
<div class='impl-items'><h4 id='method.uri-1' class="method"><span id='uri.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.uri-1' class='fnname'>uri</a>(&self) -> &<a class="struct" href="https://docs.rs/http/0.1.8/http/uri/struct.Uri.html" title="struct http::uri::Uri">Uri</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/server/message.rs.html#106-108' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Read the Request Uri.</p>
|
||||
</div><h4 id='method.method-1' class="method"><span id='method.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.method-1' class='fnname'>method</a>(&self) -> &<a class="struct" href="../actix_web/http/struct.Method.html" title="struct actix_web::http::Method">Method</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/server/message.rs.html#112-114' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Read the Request method.</p>
|
||||
</div><h4 id='method.version-1' class="method"><span id='version.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.version-1' class='fnname'>version</a>(&self) -> <a class="struct" href="../actix_web/http/struct.Version.html" title="struct actix_web::http::Version">Version</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/server/message.rs.html#118-120' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>Read the Request Version.</p>
|
||||
</div><h4 id='method.path-1' class="method"><span id='path.v-1' class='invisible'><table class='table-display'><tbody><tr><td><code>pub fn <a href='#method.path-1' class='fnname'>path</a>(&self) -> &<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.str.html">str</a></code></span></td><td><span class='out-of-band'><div class='ghost'></div><a class='srclink' href='../src/actix_web/server/message.rs.html#124-126' title='goto source code'>[src]</a></td></tr></tbody></table></span></h4><div class='docblock'><p>The target path of this Request.</p>
|
||||
|
Reference in New Issue
Block a user