Interface HubProtocol


  • public interface HubProtocol
    A protocol abstraction for communicating with SignalR hubs.
    • Method Detail

      • getName

        java.lang.String getName()
      • getVersion

        int getVersion()
      • writeMessage

        java.nio.ByteBuffer writeMessage​(HubMessage message)
        Writes the specified HubMessage to a String.
        Parameters:
        message - The message to write.
        Returns:
        A ByteBuffer representation of the message.