366 B
366 B
create a client for processmanager over telnet in @pkg/handlerfactory/clients
this is over tcp or socket
make a factory in clients where we say to which server we want to connect and then make methods per action which have right parameters which then create the heroscript which is sent to the server
we always expect json back
the json gets parsed and returned