Demonstrates using a connect client from a dart web project connecting to a remote server.
Project generated using dart create -t web
.
The application is a stripped-down version of ELIZA, a very simple natural language processor built in the 1960s to represent a psychotherapist.
You can find the protocol buffer schema on the BSR.
You will need to activate webdev:
dart pub global activate webdev
Next we can run the example using:
webdev serve
That's it! You should now be able to open a web browser to https://localhost:8080 and see the example running locally.
You can run buf generate
to generate the code.