UNPKG

botframework-streaming

Version:

Streaming library for the Microsoft Bot Framework

22 lines 859 B
/** * @module botframework-streaming */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { IReceiveRequest } from './interfaces'; import type { StreamingResponse } from './streamingResponse'; /** * Implemented by classes used to process incoming streaming requests sent over an [IStreamingTransport](xref:botframework-streaming.IStreamingTransport). */ export declare abstract class RequestHandler { /** * The method that must be implemented in order to handle incoming requests. * * @param request A receipt request for this handler to process. * @returns A promise that will produce a streaming response on successful completion. */ abstract processRequest(request: IReceiveRequest): Promise<StreamingResponse>; } //# sourceMappingURL=requestHandler.d.ts.map