mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-04 18:29:42 +01:00
9113e416e7
* 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 * begin high-level server interface * update to datakind representation * clean up * move method type info to type level, parametrize ServerCall by payload * convert for writer handler * start switching over to Message-based handlers * begin work on highlevel example * comment out old code * parametrize StreamSend * parametrize StreamRecv * conversion for ServerReaderHandler * finish handler conversions * Add high level version and payload checking to echo-client * Decouple server CQs from call-bound CQs (registered methods); use more consistent naming conventions * Decouple server/call-bound CQs for unregistered methods; refactor U.serverRequestCall; misc cleanup * Make convertRecv total; formatting wibbles
43 lines
1.4 KiB
YAML
43 lines
1.4 KiB
YAML
# This file was automatically generated by stack init
|
|
# For more information, see: http://docs.haskellstack.org/en/stable/yaml_configuration/
|
|
|
|
# Specifies the GHC version and set of packages available (e.g., lts-3.5, nightly-2015-09-21, ghc-7.10.2)
|
|
resolver: lts-5.10
|
|
|
|
# Local packages, usually specified by relative directory name
|
|
packages:
|
|
- '.'
|
|
- location:
|
|
git: git@github.mv.awakenetworks.net:awakenetworks/protobuf-wire.git
|
|
commit: e5a6985eeb5eb1eded7b46b2892874000e2ae835
|
|
extra-dep: true
|
|
- location:
|
|
git: git@github.mv.awakenetworks.net:awakenetworks/proto3-wire.git
|
|
commit: 9898a793ab61fd582b5b7172d349ffd248b20095
|
|
extra-dep: true
|
|
# Packages to be pulled from upstream that are not in the resolver (e.g., acme-missiles-0.3)
|
|
extra-deps: [managed-1.0.5]
|
|
|
|
# Override default flag values for local packages and extra-deps
|
|
flags: {}
|
|
|
|
# Extra package databases containing global packages
|
|
extra-package-dbs: []
|
|
|
|
# Control whether we use the GHC we find on the path
|
|
# system-ghc: true
|
|
|
|
# Require a specific version of stack, using version ranges
|
|
# require-stack-version: -any # Default
|
|
# require-stack-version: >= 1.0.0
|
|
|
|
# Override the architecture used by stack, especially useful on Windows
|
|
# arch: i386
|
|
# arch: x86_64
|
|
|
|
# Extra directories used by stack for building
|
|
# extra-include-dirs: [/path/to/dir]
|
|
# extra-lib-dirs: [/path/to/dir]
|
|
|
|
# Allow a newer minor version of GHC than the snapshot specifies
|
|
# compiler-check: newer-minor
|