File tree Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Expand file tree Collapse file tree 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 1
1
/// The request module contains the request object
2
2
/// which is used to send requests to the server
3
3
pub trait Request {
4
- // /// Creates a new request object
5
- // /// # Returns
6
- // /// A new request object
7
- // /// [Request](trait.Request.html)
8
- // fn new() -> Self;
9
-
10
4
/// Gets the query parameters for the request
11
5
/// # Arguments
12
6
/// * `self` - The request object
13
7
/// # Returns
14
8
/// The query parameters for the request
15
9
fn get_query_parameters ( & self ) -> String ;
16
10
17
- // /// Validate the request
18
- // /// Returns an error if the request is invalid
19
- // /// Returns Ok(()) if the request is valid
20
- // /// This method is called before the request is sent
21
- // /// to the server
22
- // fn validate(&self) -> Result<(), String>;
23
-
24
11
/// Build the URL for the request
25
12
/// # Arguments
26
13
/// * `self` - The request object
You can’t perform that action at this time.
0 commit comments