26 lines
9.1 KiB
HTML
26 lines
9.1 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `actix_http` crate."><meta name="keywords" content="rust, rustlang, rust-lang, actix_http"><title>actix_http - Rust</title><link rel="stylesheet" type="text/css" href="../normalize.css"><link rel="stylesheet" type="text/css" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../dark.css"><link rel="stylesheet" type="text/css" href="../light.css" id="themeStyle"><script src="../storage.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="shortcut icon" href="../favicon.ico"><style type="text/css">#crate-search{background-image:url("../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">☰</div><a href='../actix_http/index.html'><div class='logo-container'><img src='../rust-logo.png' alt='logo'></div></a><p class='location'>Crate actix_http</p><div class="sidebar-elems"><a id='all-types' href='all.html'><p>See all actix_http's items</p></a><div class="block items"><ul><li><a href="#reexports">Re-exports</a></li><li><a href="#modules">Modules</a></li><li><a href="#macros">Macros</a></li><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'></p><script>window.sidebarCurrent = {name: 'actix_http', ty: 'mod', relpath: '../'};</script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../theme.js"></script><nav class="sub"><form class="search-form"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" disabled autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"></div><a id="settings-menu" href="../settings.html"><img src="../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>−</span>]</a></span><a class='srclink' href='../src/actix_http/lib.rs.html#1-66' title='goto source code'>[src]</a></span><span class='in-band'>Crate <a class="mod" href=''>actix_http</a></span></h1><div class='docblock'><p>Basic http primitives for actix-net framework.</p>
|
||
</div><h2 id='reexports' class='section-header'><a href="#reexports">Re-exports</a></h2>
|
||
<table><tr><td><code>pub use self::error::<a class="struct" href="../actix_http/error/struct.Error.html" title="struct actix_http::error::Error">Error</a>;</code></td></tr><tr><td><code>pub use self::error::<a class="trait" href="../actix_http/error/trait.ResponseError.html" title="trait actix_http::error::ResponseError">ResponseError</a>;</code></td></tr><tr><td><code>pub use self::error::<a class="type" href="../actix_http/error/type.Result.html" title="type actix_http::error::Result">Result</a>;</code></td></tr><tr><td><code>pub use self::httpmessage::<a class="trait" href="../actix_http/httpmessage/trait.HttpMessage.html" title="trait actix_http::httpmessage::HttpMessage">HttpMessage</a>;</code></td></tr></table><h2 id='modules' class='section-header'><a href="#modules">Modules</a></h2>
|
||
<table><tr class='module-item'><td><a class="mod" href="body/index.html" title='actix_http::body mod'>body</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="client/index.html" title='actix_http::client mod'>client</a></td><td class='docblock-short'><p>Http client api</p>
|
||
</td></tr><tr class='module-item'><td><a class="mod" href="cookie/index.html" title='actix_http::cookie mod'>cookie</a></td><td class='docblock-short'><p>https://github.com/alexcrichton/cookie-rs fork</p>
|
||
</td></tr><tr class='module-item'><td><a class="mod" href="encoding/index.html" title='actix_http::encoding mod'>encoding</a></td><td class='docblock-short'><p>Content-Encoding support</p>
|
||
</td></tr><tr class='module-item'><td><a class="mod" href="error/index.html" title='actix_http::error mod'>error</a></td><td class='docblock-short'><p>Error and Result module</p>
|
||
</td></tr><tr class='module-item'><td><a class="mod" href="h1/index.html" title='actix_http::h1 mod'>h1</a></td><td class='docblock-short'><p>HTTP/1 implementation</p>
|
||
</td></tr><tr class='module-item'><td><a class="mod" href="h2/index.html" title='actix_http::h2 mod'>h2</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="http/index.html" title='actix_http::http mod'>http</a></td><td class='docblock-short'><p>Various HTTP related types</p>
|
||
</td></tr><tr class='module-item'><td><a class="mod" href="httpmessage/index.html" title='actix_http::httpmessage mod'>httpmessage</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="mod" href="test/index.html" title='actix_http::test mod'>test</a></td><td class='docblock-short'><p>Test Various helpers for Actix applications to use during testing.</p>
|
||
</td></tr><tr class='module-item'><td><a class="mod" href="ws/index.html" title='actix_http::ws mod'>ws</a></td><td class='docblock-short'><p>WebSocket protocol support.</p>
|
||
</td></tr></table><h2 id='macros' class='section-header'><a href="#macros">Macros</a></h2>
|
||
<table><tr class='module-item'><td><a class="macro" href="macro.header.html" title='actix_http::header macro'>header</a></td><td class='docblock-short'></td></tr></table><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
|
||
<table><tr class='module-item'><td><a class="struct" href="struct.Extensions.html" title='actix_http::Extensions struct'>Extensions</a></td><td class='docblock-short'><p>A type map of request extensions.</p>
|
||
</td></tr><tr class='module-item'><td><a class="struct" href="struct.HttpService.html" title='actix_http::HttpService struct'>HttpService</a></td><td class='docblock-short'><p><code>NewService</code> HTTP1.1/HTTP2 transport implementation</p>
|
||
</td></tr><tr class='module-item'><td><a class="struct" href="struct.HttpServiceBuilder.html" title='actix_http::HttpServiceBuilder struct'>HttpServiceBuilder</a></td><td class='docblock-short'><p>A http service builder</p>
|
||
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Message.html" title='actix_http::Message struct'>Message</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Request.html" title='actix_http::Request struct'>Request</a></td><td class='docblock-short'><p>Request</p>
|
||
</td></tr><tr class='module-item'><td><a class="struct" href="struct.RequestHead.html" title='actix_http::RequestHead struct'>RequestHead</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.Response.html" title='actix_http::Response struct'>Response</a></td><td class='docblock-short'><p>An HTTP Response</p>
|
||
</td></tr><tr class='module-item'><td><a class="struct" href="struct.ResponseBuilder.html" title='actix_http::ResponseBuilder struct'>ResponseBuilder</a></td><td class='docblock-short'><p>An HTTP response builder</p>
|
||
</td></tr><tr class='module-item'><td><a class="struct" href="struct.ResponseHead.html" title='actix_http::ResponseHead struct'>ResponseHead</a></td><td class='docblock-short'></td></tr><tr class='module-item'><td><a class="struct" href="struct.ServiceConfig.html" title='actix_http::ServiceConfig struct'>ServiceConfig</a></td><td class='docblock-short'><p>Http service configuration</p>
|
||
</td></tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
|
||
<table><tr class='module-item'><td><a class="enum" href="enum.KeepAlive.html" title='actix_http::KeepAlive enum'>KeepAlive</a></td><td class='docblock-short'><p>Server keep-alive setting</p>
|
||
</td></tr><tr class='module-item'><td><a class="enum" href="enum.Payload.html" title='actix_http::Payload enum'>Payload</a></td><td class='docblock-short'><p>Type represent streaming payload</p>
|
||
</td></tr><tr class='module-item'><td><a class="enum" href="enum.RequestHeadType.html" title='actix_http::RequestHeadType enum'>RequestHeadType</a></td><td class='docblock-short'></td></tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
|
||
<table><tr class='module-item'><td><a class="type" href="type.PayloadStream.html" title='actix_http::PayloadStream type'>PayloadStream</a></td><td class='docblock-short'><p>Type represent boxed payload</p>
|
||
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><script>window.rootPath = "../";window.currentCrate = "actix_http";</script><script src="../aliases.js"></script><script src="../main.js"></script><script defer src="../search-index.js"></script></body></html> |