rsiot/components_config/http_client_old/
http_param.rs

1/// Параметры HTTP
2#[derive(Clone, Debug)]
3pub enum HttpParam {
4    /// GET method
5    Get {
6        /// Endpoint for connections
7        endpoint: String,
8    },
9
10    /// PUT method
11    Put {
12        /// Endpoint for connection
13        endpoint: String,
14        /// Body of request
15        body: String,
16    },
17
18    /// POST method
19    Post {
20        /// Endpoint for connection
21        endpoint: String,
22        /// Body of request
23        body: String,
24    },
25}