Skip to content

Commit

Permalink
Merge pull request #1496 from jncr/grpc@1.24.x
Browse files Browse the repository at this point in the history
add methodTypes enum
  • Loading branch information
murgatroid99 committed Jul 8, 2020
2 parents 41fdb4a + 336a9e0 commit ea36f75
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/grpc-native-core/index.d.ts
Expand Up @@ -906,6 +906,17 @@ declare module "grpc" {
INFO,
ERROR,
}

/**
* Method type constants
*/
export enum methodTypes {
UNARY,
CLIENT_STREAMING,
SERVER_STREAMING,
BIDI_STREAMING,
}


/**
* A certificate as received by the checkServerIdentity callback.
Expand Down

0 comments on commit ea36f75

Please sign in to comment.