unclechu's fork of gRPC-haskell
Find a file
Joel Stanley 96d12c1e6c Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37)
* Tweak runOps param order, inline common op sequences, clean up serverHandleNormalCall

* More ops sequence inlining for clarity, experimenting with Managed

* Checkpoint: preliminary support for all streaming modes; much cleanup/refactoring and api design still needed

* Use mempty for default StatusDetails; tweak bad status matching mechanism

* Preliminary user-facing, server-streaming, low-level api and test

* renaming wibbles

* Preliminary user-facing, client-streaming, low-level api and test

* Move sendMsgs comb to Network.GRPC.LowLevel.Op; misc cleanup/DCR

* Modify bidi streaming to omit request payload

* Add transformers dep

* Preliminary user-facing low-level bidirectional streaming api and test

* Fix missing peek import

* Remove TimeoutSeconds params on streaming mode functions

* Fix serverHandleNormalCall rebase wart

* Fix rebase warts; minor hlint fixes and wibbles

* Post-rebase tweaks to optional payload use in serverRequestCall (i.e., now respects payloadHandling again)

* Cleanup/refactor serverRequestCall

* Fix comment

* Change ServerRWHandler type so that handler does not have to invoke a finalizer

* Change ServerReaderHandler type so that handler does not have to invoke a finalizer

* Simplify serverWriter interface and ServerWriterHandler structure

* Simplify serverRW (get rid of exec param), improve bidi streaming tests

* Use ExceptT in serverRW impl

* Change ServerRWHandler type to pass recv/send operations.

* Renaming

* Define ClientRWHandler, pass recv/send ops

* wibbles

* Use ExceptT in clientRW impl

* Add DataKinded phantom typing to RegisteredMethod; misc cleanup

* Simplify sendMsgs interface; add SingleSend type and related helpers

* Rename SingleSend to SendSingle, use ExceptT to clean up {client,server}Writer and sendMsgs

* More ExceptT cleanup in clientWriter

* Factor out reusable bits of clientWriter

* Shrink ServerReaderHandler

* Delete stale comments

* Use common machinery for all streaming modes; make handler types more consistent

* wibbles
2016-07-06 08:59:38 -05:00
cbits Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37) 2016-07-06 08:59:38 -05:00
examples/echo Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37) 2016-07-06 08:59:38 -05:00
include Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37) 2016-07-06 08:59:38 -05:00
src/Network/GRPC Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37) 2016-07-06 08:59:38 -05:00
tests Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37) 2016-07-06 08:59:38 -05:00
.gitignore ignore compiled cpp binaries (#31) 2016-06-22 10:41:38 -07:00
grpc-haskell.cabal Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37) 2016-07-06 08:59:38 -05:00
LICENSE Initial commit. 2015-02-27 18:14:32 +01:00
Setup.hs Initial commit. 2015-02-27 18:14:32 +01:00
stack.yaml Preliminary streaming mode support (client streaming, server streaming, bidirectional) (#37) 2016-07-06 08:59:38 -05:00