pub fn url(&self, path: &str) -> Uri {
        Uri::builder()
            .scheme("http")
            .authority(format!("{}", self.bind_address).as_str())
            .path_and_query(path)
            .build()
            .expect("attempted to construct invalid URI")
    }
/**
     * Given the path for an API endpoint (e.g., "/projects"), return a Uri that
     * we can use to invoke this endpoint from the client.  This essentially
     * appends the path to a base URL constructed from the server's IP address
     * and port.
     */
Given the path for an API endpoint , return a Uri that
we can use to invoke this endpoint from the client.  This essentially
appends the path to a base URL constructed from the server's IP address
and port.
Given the path for an API endpoint return a Uri that we can use to invoke this endpoint from the client . This essentially appends the path to a base URL constructed from the server ' s IP address and port .
pub fn url(&self, path: &str) -> Uri {
        Uri::builder()
            .scheme("http")
            .authority(format!("{}", self.bind_address).as_str())
            .path_and_query(path)
            .build()
            .expect("attempted to construct invalid URI")
    }
pub fn url ( & self , path : & str ) -> Uri { Uri :: builder ( ) . scheme ( " " ) . authority ( format ! ( " " self bind_address ) . as_str ( ) ) . path_and_query ( path ) . build ( ) . expect ( " " ) }
Given the path for an API endpoint (e.g., "/projects"), return a Uri that
 we can use to invoke this endpoint from the client.
Given the path for an API endpoint ( e . g . " / projects " ) return a Uri that we can use to invoke this endpoint from the client .
&self
path
&str
&self
path
&str