Skip to content

Commit

Permalink
feat: add rpc stream type
Browse files Browse the repository at this point in the history
  • Loading branch information
akitaSummer committed Oct 10, 2024
1 parent d29c94f commit dec065f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/types/controller-decorator/model/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export type { IncomingHttpHeaders } from 'node:http';
export enum ControllerType {
HTTP = 'HTTP',
SOFA_RPC = 'SOFA_RPC',
SOFA_RPC_STREAM = 'SOFA_RPC_STREAM',
MGW_RPC = 'MGW_RPC',
MESSAGE = 'MESSAGE',
SCHEDULE = 'SCHEDULE',
Expand All @@ -21,6 +22,7 @@ export type ControllerTypeLike = ControllerType | string;
export enum MethodType {
HTTP = 'HTTP',
SOFA_RPC = 'SOFA_RPC',
SOFA_RPC_STREAM = 'SOFA_RPC_STREAM',
MGW_RPC = 'MGW_RPC',
MESSAGE = 'MESSAGE',
SCHEDULE = 'SCHEDULE',
Expand Down

0 comments on commit dec065f

Please sign in to comment.