1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Request {
#[prost(string, tag="1")]
pub method: std::string::String,
#[prost(string, tag="2")]
pub path: std::string::String,
#[prost(string, tag="3")]
pub query_string: std::string::String,
#[prost(map="string, string", tag="4")]
pub header: ::std::collections::HashMap<std::string::String, std::string::String>,
#[prost(bytes, tag="5")]
pub body: std::vec::Vec<u8>,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Response {
#[prost(uint32, tag="1")]
pub status_code: u32,
#[prost(string, tag="2")]
pub status: std::string::String,
#[prost(map="string, string", tag="3")]
pub header: ::std::collections::HashMap<std::string::String, std::string::String>,
#[prost(bytes, tag="4")]
pub body: std::vec::Vec<u8>,
}