Class WebSockets

java.lang.Object
de.predic8.kubernetesclient.patch.WebSockets

public class WebSockets extends Object
  • Field Details

  • Constructor Details

    • WebSockets

      public WebSockets()
  • Method Details

    • stream

      public static void stream(String path, String method, io.kubernetes.client.openapi.ApiClient client, io.kubernetes.client.util.WebSockets.SocketListener listener) throws io.kubernetes.client.openapi.ApiException, IOException
      Create a new WebSocket stream
      Parameters:
      path - The HTTP Path to request from the API
      method - The HTTP method to use for the call
      client - The ApiClient for communicating with the API
      listener - The socket listener to handle socket events
      Throws:
      io.kubernetes.client.openapi.ApiException
      IOException
    • stream

      public static WebSockets.Listener stream(String path, String method, List<io.kubernetes.client.openapi.Pair> queryParams, io.kubernetes.client.openapi.ApiClient client, io.kubernetes.client.util.WebSockets.SocketListener listener) throws io.kubernetes.client.openapi.ApiException, IOException
      Throws:
      io.kubernetes.client.openapi.ApiException
      IOException