mirror of
https://github.com/unclechu/gRPC-haskell.git
synced 2024-11-26 21:19:43 +01:00
Add type aescription in Constants
.
This commit is contained in:
parent
9219b498a9
commit
fcd2a1390b
1 changed files with 5 additions and 0 deletions
|
@ -2,8 +2,13 @@ module Network.GRPC.Constants where
|
||||||
|
|
||||||
#include "grpc/grpc.h"
|
#include "grpc/grpc.h"
|
||||||
|
|
||||||
|
argEnableCensus :: Int
|
||||||
argEnableCensus = #const GRPC_ARG_ENABLE_CENSUS
|
argEnableCensus = #const GRPC_ARG_ENABLE_CENSUS
|
||||||
|
|
||||||
|
argMaxConcurrentStreams :: Int
|
||||||
argMaxConcurrentStreams = #const GRPC_ARG_MAX_CONCURRENT_STREAMS
|
argMaxConcurrentStreams = #const GRPC_ARG_MAX_CONCURRENT_STREAMS
|
||||||
|
|
||||||
|
argMaxMessageLength :: Int
|
||||||
argMaxMessageLength = #const GRPC_ARG_MAX_MESSAGE_LENGTH
|
argMaxMessageLength = #const GRPC_ARG_MAX_MESSAGE_LENGTH
|
||||||
|
|
||||||
writeBufferHint :: Int
|
writeBufferHint :: Int
|
||||||
|
|
Loading…
Reference in a new issue