BQSP Client
Dart client for the BQSP protocol.
Installation
To use BQSP Client in your Flutter project, add the following dependency to your pubspec.yaml
file:
dependencies:
bqsp_client: ^0.3.2
Then, run:
flutter pub get
Usage
- Create a BqspClient instance with the server host and port
final client = BqspClient(serverHost, serverPort);
- Connect to the server
await client.connect();
- Send a request with a type and a body
final response = await client.send(4, 'Test message');
- Close connection
await client.close();
Contributing
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the GitHub repository.
License
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Libraries
- bqsp_client
- A Dart client for the BQSP protocol.