diff --git a/kube-client/src/client/mod.rs b/kube-client/src/client/mod.rs index 91006c6dc..b2d9226a5 100644 --- a/kube-client/src/client/mod.rs +++ b/kube-client/src/client/mod.rs @@ -132,7 +132,10 @@ impl Client { &self.default_ns } - async fn send(&self, request: Request) -> Result> { + /// Perform a raw HTTP request against the API and return the raw response back. + /// This method can be used to get raw access to the API which may be used to, for example, + /// create a proxy server or application-level gateway between localhost and the API server. + pub async fn send(&self, request: Request) -> Result> { let mut svc = self.inner.clone(); let res = svc .ready()