Module dyer::task

source · []
Expand description

This module contains structs related to HTTP requests,

notably the Request type itself as well as a builder to create requests. Typically you’ll import the http::Request type rather than reaching into this module itself.

Structs

Meta Data of the Task

An Task consists of a head and a potentially optional body. The body component is generic, enabling arbitrary types to represent the HTTP body. For example, the body could be Vec, a Stream of byte chunks, or a value that has been deserialized.

An Wrapper of http::request::Builder Serve as an medium to create an instance of Task