earl-protocol-http 0.6.2

HTTP and GraphQL execution protocol for earl
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
pub mod builder;
pub mod executor;
pub mod schema;
pub mod sse;

pub use executor::{HttpExecutor, HttpStreamExecutor};
pub use schema::{GraphqlOperationTemplate, GraphqlTemplate, HttpOperationTemplate};

/// Prepared HTTP/GraphQL request data, ready for execution.
#[derive(Debug, Clone)]
pub struct PreparedHttpData {
    pub method: reqwest::Method,
    pub url: url::Url,
    pub query: Vec<(String, String)>,
    pub headers: Vec<(String, String)>,
    pub cookies: Vec<(String, String)>,
    pub body: earl_core::PreparedBody,
}