diff --git a/src/agent.rs b/src/agent.rs index 18e9f4f..554d4db 100644 --- a/src/agent.rs +++ b/src/agent.rs @@ -339,11 +339,6 @@ impl Agent { self.request("OPTIONS", path) } - /// Make a CONNECT request from this agent. - pub fn connect(&self, path: &str) -> Request { - self.request("CONNECT", path) - } - /// Make a PATCH request from this agent. pub fn patch(&self, path: &str) -> Request { self.request("PATCH", path) diff --git a/src/lib.rs b/src/lib.rs index 829657e..54092d5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -199,11 +199,6 @@ pub fn options(path: &str) -> Request { request("OPTIONS", path) } -/// Make an CONNECT request. -pub fn connect(path: &str) -> Request { - request("CONNECT", path) -} - /// Make an PATCH request. pub fn patch(path: &str) -> Request { request("PATCH", path)