Crate scrappy_http

Source
Expand description

Basic http primitives for scrappy-net framework.

Re-exports§

pub use self::error::Error;
pub use self::error::ResponseError;
pub use self::error::Result;
pub use self::httpmessage::HttpMessage;

Modules§

body
client
Http client api
cookie
https://github.com/alexcrichton/cookie-rs fork
error
Error and Result module
h1
HTTP/1 implementation
h2
HTTP/2 implementation
http
Various HTTP related types
httpmessage
test
Test Various helpers for scrappy applications to use during testing.
ws
WebSocket protocol support.

Macros§

header

Structs§

Extensions
A type map of request extensions.
HttpService
ServiceFactory HTTP1.1/HTTP2 transport implementation
HttpServiceBuilder
A http service builder
Message
Request
Request
RequestHead
Response
An HTTP Response
ResponseBuilder
An HTTP response builder
ResponseHead
ServiceConfig
Http service configuration

Enums§

KeepAlive
Server keep-alive setting
Payload
Type represent streaming payload
Protocol
Http protocol
RequestHeadType

Type Aliases§

PayloadStream
Type represent boxed payload