mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-04 18:29:42 +01:00
96d12c1e6c
* 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
35 lines
1.1 KiB
YAML
35 lines
1.1 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:
|
|
- '.'
|
|
# 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
|