/// Create a HTTP request for a given method and path.
Create a HTTP request for a given method and path.
Create a HTTP request for a given method and path .
fn create_request(&self, method: Method, path: &str) -> Request {
        let version = env!("CARGO_PKG_VERSION");
        let uagent  = format!("ArrowClient/{}", version);
        Request::new(method, path)
            .add_header("Host", &self.host)
            .add_header("User-Agent", &uagent)
    }
fn create_request ( & self , method : Method , path : & str ) -> Request { let version = env ! ( " " ) ; let uagent = format ! ( " " version ) ; Request :: new ( method , path ) . add_header ( " " , & self . host ) . add_header ( " " , & uagent ) }
Create a HTTP request for a given method and path.
Create a HTTP request for a given method and path .
&self
method
Method
path
&str