Class ApiServer


  • public class ApiServer
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ApiServer​(int port)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void restart​(@NotNull xyz.gianlu.librespot.core.Session session)  
      void start​(@NotNull xyz.gianlu.librespot.core.Session session)  
      void stop()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApiServer

        public ApiServer​(int port)
    • Method Detail

      • start

        public void start​(@NotNull
                          @NotNull xyz.gianlu.librespot.core.Session session)
      • stop

        public void stop()
      • restart

        public void restart​(@NotNull
                            @NotNull xyz.gianlu.librespot.core.Session session)