Client should support close method

Posted by Willem520:

now,the close method is not convenient


it means we should save channel by myself,maybe we should provide client close methd like
public void close(){ channels.stream().forEach(item -> { item.shutdown(); }); }
or more easy to use

mangalaman93 commented :

If we do this, we could add at least following 3 functions-

  • open
  • openWithTLS
  • close