Tcp-Client
Read this in other languages: English, 简体中文.
Description
Convenient client-side TCP service. Also see tcp-server for server-side.
Based on tcp-handler.
With complete API document.
Usage
Add this to your Cargo.toml
:
[]
= "~0.2"
Example
use define_client;
use Result;
define_client!;
async
Version map
Versions map to tcp-server with the same protocol. (Recommended for use in conjunction, otherwise unexpected bugs may occur.)
client version | server version |
---|---|
>=0.2.0 | >=0.3.0 |
<0.2.0, >=0.1.0 | <0.3.0 >=0.2.0 |
<0.1.0 | <0.2.0 |
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.