bqsp_client 0.3.2 copy "bqsp_client: ^0.3.2" to clipboard
bqsp_client: ^0.3.2 copied to clipboard

Dart client for the BQSP protocol

BQSP Client #

Code license (MIT) GitHub release (latest by date) GitHub issues

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 #

  1. Create a BqspClient instance with the server host and port
final client = BqspClient(serverHost, serverPort);
  1. Connect to the server
await client.connect();
  1. Send a request with a type and a body
final response = await client.send(4, 'Test message');
  1. 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.