This PR resolves #5 by changing Mojito.request so that no additional processes are created. TCP messages are received and handled in the caller process.
Also in this PR:
Added %Mojito.Request{} struct to allow building requests functionally
Added Mojito.request/1 and Mojito.Pool.request/2 using the above struct
This PR resolves #5 by changing
Mojito.request
so that no additional processes are created. TCP messages are received and handled in the caller process.Also in this PR:
%Mojito.Request{}
struct to allow building requests functionallyMojito.request/1
andMojito.Pool.request/2
using the above struct