close abstract method

void close()

This method is using to close EventSource. Before close will be fired onClose onceClose will be called, if any provided

Implementation

void close();