packages feed

http2-client-grpc 0.2.0.0 → 0.2.0.1

raw patch · 2 files changed

+4/−4 lines, 2 filesdep ~http2-grpc-typesPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: http2-grpc-types

API changes (from Hackage documentation)

Files

http2-client-grpc.cabal view
@@ -1,5 +1,5 @@ name:                http2-client-grpc-version:             0.2.0.0+version:             0.2.0.1 synopsis:            Implement gRPC-over-HTTP2 clients. description:         Uses http2-client and proto-lens to generate client code. homepage:            https://github.com/lucasdicioccio/http2-client-grpc#readme@@ -22,7 +22,7 @@                      , data-default-class                      , http2                      , http2-client-                     , http2-grpc-types+                     , http2-grpc-types >= 0.2                      , proto-lens                      , proto-lens-protoc                      , text
src/Network/GRPC/Client.hs view
@@ -110,7 +110,7 @@      -> Timeout      -- ^ Timeout in seconds.      -> Compression-     -- ^ An indication of the compression that you will be using.  Compression+     -- ^ An indication of the compression that you will be using and accepting.  Compression      -- should be per message, however a bug in gRPC-Go (to be confirmed) seems      -- to turn message compression mandatory if advertised in the HTTP2      -- headers, even though the specification states that compression per@@ -125,7 +125,7 @@                   , (":path", path rpc)                    , (grpcTimeoutH, showTimeout timeout)                   , (grpcEncodingH, grpcCompressionHV compression)-                  , (grpcAcceptEncodingH, grpcAcceptEncodingHVdefault)+                  , (grpcAcceptEncodingH, mconcat [grpcAcceptEncodingHVdefault, ",", grpcCompressionHV compression])                   , ("content-type", grpcContentTypeHV)                   , ("te", "trailers")                   ] <> extraheaders