Skip to content

Commit

Permalink
add methodTypes enum
Browse files Browse the repository at this point in the history
  • Loading branch information
jncr committed Jul 8, 2020
1 parent 41fdb4a commit 48802ee
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/grpc-native-core/index.d.ts
Original file line number Diff line number Diff line change
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 48802ee

Please sign in to comment.