Skip to content

Commit

Permalink
Merge pull request #1 from jncr/method-types-ts
Browse files Browse the repository at this point in the history
add methodTypes enum
  • Loading branch information
jncr committed Jul 8, 2020
2 parents 41fdb4a + 48802ee commit 336a9e0
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 336a9e0

Please sign in to comment.