HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulegrapesy-1.1.1Haskell2010

Network.GRPC.Common.StreamType

Handlers for specific communication patterns

The gRPC specification does not distinguish between different kinds of communication patterns; this is done in the Protobuf specification. Nonetheless, these streaming types can be applied to other serialization formats also.

It is important to realize that these wrappers are simple and are provided for convenience only; if they do not provide the functionality you require, using the more general interface from Network.GRPC.Client or Network.GRPC.Server is not much more difficult.

See Network.GRPC.Client for additional discussion.

  • 1 type
  • 2 classes
  • Packagegrapesy-1.1.1
  • Exports3
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceStreamType.hs

Abstraction

3 declarations
datadata StreamingType
#
Instances6Bounded, Enum, Eq, Ord, Read, Show
classclass ValidStreamingType styp => SupportsStreamingType (rpc :: k) (styp :: StreamingType)
#

This RPC supports the given streaming type

This is a weaker condition than HasStreamingType: some (non-Protobuf) RPCs may support more than one streaming type.

Instances3SupportsStreamingType