client/base_client library
Classes
- BaseClient
-
The BaseClient class must be given an open channel to the server, which it
will use to make requests (or close the channel). We intentionally keep the
channel generic so that we can, for example, inject a mock server and write
tests against it. Normally, the channel will be derived from a SecureSocket
via TCP (see
connect.dart
).