Skip to content

Commit ea36f75

Browse files
authored
Merge pull request #1496 from jncr/[email protected]
add methodTypes enum
2 parents 41fdb4a + 336a9e0 commit ea36f75

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/grpc-native-core/index.d.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,17 @@ declare module "grpc" {
906906
INFO,
907907
ERROR,
908908
}
909+
910+
/**
911+
* Method type constants
912+
*/
913+
export enum methodTypes {
914+
UNARY,
915+
CLIENT_STREAMING,
916+
SERVER_STREAMING,
917+
BIDI_STREAMING,
918+
}
919+
909920

910921
/**
911922
* A certificate as received by the checkServerIdentity callback.

0 commit comments

Comments
 (0)