1:- module(jsonrpc_connectors, [
    2  connect_to_server/2,
    3  connection_stream_pair/2,
    4  close_connection/1,
    5  serve_messages/1
    6  ]
    7).    8
    9% 
   10% Client methods
   11% 
   12
   13% connect_to_server(Server, Connection)
   14:- multifile connect_to_server/2.   15:- dynamic connect_to_server/2.   16
   17% connection_stream_pair(Connection, StreamPair)
   18:- multifile connection_stream_pair/2.   19:- dynamic connection_stream_pair/2.   20
   21% close_connection(Connnection)
   22:- multifile close_connection/1.   23:- dynamic close_connection/1.   24
   25% 
   26% Server methods
   27% 
   28
   29% serve_messages(Server)
   30:- multifile serve_messages/1.   31:- dynamic serve_messages/1.   32
   33% 
   34% Connectors
   35% 
   36:- reexport('./connectors/stdio').   37:- reexport('./connectors/tcp').