This also makes a few improvements to the make library itself:
More consistent exceptions between the server and the client API: both now report a CallSetupFailure exception if the call cannot be established (though they use different definitions).
Clients can specify initial compression algorithm, independent from the server (connInitCompression)
The server will always support identity compression (unless using insist); see Negotation for details.
The server can insist on a compression algorithm, independent of what the client says (insist)
Server handlers can now raise a GrpcException in the client by calling sendGrpcException instead by throwing this exception themselves; see sendGrpcException for discussion for the trade-off.
This also makes a few improvements to the make library itself:
CallSetupFailure
exception if the call cannot be established (though they use different definitions).connInitCompression
)insist
); seeNegotation
for details.insist
)GrpcException
in the client by callingsendGrpcException
instead by throwing this exception themselves; seesendGrpcException
for discussion for the trade-off.