Files
sdk/pkg/analysis_server_client/README.md
T
Devon Carew 62bb4b76d5 [pkg] normalize the headers of the pkg/ readmes
Change-Id: Ida2006d0dd2bbb7d441f15e494fd8c929f15a765
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/246680
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2022-05-31 21:00:13 +00:00

24 lines
1.0 KiB
Markdown

[![pub package](https://img.shields.io/pub/v/analysis_server_client.svg)](https://pub.dev/packages/analysis_server_client)
[![package publisher](https://img.shields.io/pub/publisher/analysis_server_client.svg)](https://pub.dev/packages/analysis_server_client/publisher)
`package:analysis_server_client` is a client wrapper over the Analysis Server.
## Overview
* Instances of [__Server__](lib/server.dart) manage a connection to an analysis server process,
and facilitate communication to and from the server.
* The [__Protocol__](lib/protocol.dart) library provides constants and classes
to build requests for the server and decode responses and notifications from the server.
## Example
The [example](example/example.dart) uses the [__Server__](lib/server.dart) to
launch the analysis server, analyze all *.dart files in the specified directory,
display the results, and shutdown the analysis server.
## References
For more about the analysis server, see the
[Analysis Server page](https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server).