Class OkHttpEventStream

    • Method Detail

      • isActive

        protected boolean isActive()
      • close

        public void close()
                   throws IOException
        Description copied from interface: EventStream
        Close the current stream.
        Specified by:
        close in interface EventStream
        Throws:
        IOException - can throw exception if internal buffer not closed properly
      • cancel

        public void cancel()
        Description copied from interface: EventStream
        Cancels the underlying connection to the current stream.
        Specified by:
        cancel in interface EventStream