Interface WebSocketOpenCallback

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface WebSocketOpenCallback
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void onOpen​(okhttp3.Response response)
      onOpen will be called when the websocket has been accepted by server and may begin transmitting messages.
    • Method Detail

      • onOpen

        void onOpen​(okhttp3.Response response)
        onOpen will be called when the websocket has been accepted by server and may begin transmitting messages.
        Parameters:
        response - The response send by server.