mirror of
https://github.com/Kong/insomnia
synced 2024-11-12 17:26:32 +00:00
21 lines
541 B
JavaScript
21 lines
541 B
JavaScript
// @flow
|
|
|
|
export const GrpcRequestEventEnum = {
|
|
sendUnary: 'GRPC_SEND_UNARY',
|
|
startStream: 'GRPC_START_STREAM',
|
|
sendMessage: 'GRPC_SEND_MESSAGE',
|
|
commit: 'GRPC_COMMIT',
|
|
cancel: 'GRPC_CANCEL',
|
|
cancelMultiple: 'GRPC_CANCEL_MULTIPLE',
|
|
};
|
|
export type GrpcRequestEvent = $Values<typeof GrpcRequestEventEnum>;
|
|
|
|
export const GrpcResponseEventEnum = {
|
|
start: 'GRPC_START',
|
|
data: 'GRPC_DATA',
|
|
error: 'GRPC_ERROR',
|
|
end: 'GRPC_END',
|
|
status: 'GRPC_STATUS',
|
|
};
|
|
export type GrpcResponseEvent = $Values<typeof GrpcResponseEventEnum>;
|