New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose Direct Line endpoint #54
Comments
This idea is being discussed at increasing length over at microsoft/BotFramework-WebChat#243 |
has there been any movement on this? |
@forensicsguy20012004 This feature is not on the Emulator roadmap currently. It would be good if you could provide information about your scenario. |
@eanders-ms We have a web application which calls a bot using Direct Line. Currently our team cannot do local development along the full chain, because the direct line client calls out to the Bot Connector. It would be very helpful to have a way for the direct line client call to a local bot, via the emulator or some other endpoint, so that we can have our local web app call to our local bot. |
@ChrisMiskowiec I'm using the Emulator in exactly this way. If I'm understanding you right you just need to:
There are issues open to make the port configurable from the command line; I've done this in a hacky way in my fork at https://github.com/gareththackeray/BotFramework-Emulator |
Hi @gareththackeray ,
Please help ! Thanks in advance . |
@SomaSharathSurya I just updated my comment to show the emulator port should go after the : The api reference is here https://docs.microsoft.com/en-us/bot-framework/rest-api/bot-framework-rest-direct-line-3-0-api-reference |
Just a quick follow-up per all of the above comments. Will this particular item ever be added to the official roadmap? It's a pretty crucial piece of functionality for individuals who use the DirectLineAPI as their primary pathway for bot communication. |
Here is a helpful workaround: https://www.npmjs.com/package/offline-directline |
Closing, no plans to implement. |
Many folks want to run WebChat against a bot running locally. It would be extremely convenient if the Emulator could expose its Direct Line connector to any clients. As a stretch goal, it would be great to extract out said connector as an independent project that can be run by itself as "headless" emulator.
The text was updated successfully, but these errors were encountered: