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 |
|
9 | export interface BotFrameworkHttpAdapter {
|
10 | |
11 |
|
12 |
|
13 | process(req: Request, res: Response, logic: (context: TurnContext) => Promise<void>): Promise<void>;
|
14 | |
15 |
|
16 |
|
17 |
|
18 | process(req: Request, socket: INodeSocket, head: INodeBuffer, logic: (context: TurnContext) => Promise<void>): Promise<void>;
|
19 | }
|
20 |
|
\ | No newline at end of file |