1 | import type { INodeBuffer, INodeSocket } from 'botframework-streaming';
|
2 | import type { Request, Response } from './interfaces';
|
3 | import type { TurnContext } from 'botbuilder-core';
|
4 |
|
5 |
|
6 |
|
7 |
|
8 | export interface BotFrameworkHttpAdapter {
|
9 | |
10 |
|
11 |
|
12 | process(req: Request, res: Response, logic: (context: TurnContext) => Promise<void>): Promise<void>;
|
13 | |
14 |
|
15 |
|
16 |
|
17 | process(req: Request, socket: INodeSocket, head: INodeBuffer, logic: (context: TurnContext) => Promise<void>): Promise<void>;
|
18 | }
|
19 |
|
\ | No newline at end of file |