Skip to content

Conversation

@ckkashyap
Copy link
Collaborator

@ckkashyap ckkashyap commented May 29, 2019

DirectLine constructor
streamingWebSocket is introduced. This parameter can be used to tell DirectLine to use the streaming protocol.

postActivity and postMessageWithAttachments
Both methods now use the streaming protocol to send messages if there is a streaming connection.

**Tests
Happy paths for posting activities, activities with attachments and receiving welcome messages have automated tests

Unhappy paths of unable to reconnect/connection break were manually tested. The reconnect function has not been tested. I will update its implementation during the review.

@compulim
Copy link
Collaborator

compulim commented Feb 5, 2020

Please do some testing in IE11.

There is a blocking bug on botframework-streaming because they are publishing non-ES5 code to NPM. https://github.com/microsoft/botbuilder-js/issues/1670

@cwhitten cwhitten merged commit e84d125 into master Mar 4, 2020
@cwhitten cwhitten deleted the ckk/protocoljs branch March 4, 2020 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants