UNPKG

botframework-streaming

Version:

Streaming library for the Microsoft Bot Framework

30 lines 894 B
/** * @module botframework-streaming */ /** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ /** * Event to be included when disconnection events are fired. */ export declare class TransportDisconnectedEvent { /** * A new and empty TransportDisconnectedEvent. */ static Empty: TransportDisconnectedEvent; /** * The reason the disconnection event fired, in plain text. */ reason: string; /** * Indicates a transport disconnected with the reason provided via the constructor. * * @remarks * This class is used for communicating disconnection events between the * PayloadReceiver and PayloadSender. * @param reason The reason the disconnection event fired, in plain text. */ constructor(reason?: string); } //# sourceMappingURL=transportDisconnectedEvent.d.ts.map