openlegends-client 0.2.1

OpenLegends Client Library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use openlegends_client::*;

#[test]
#[ignore]
fn _new() {
    let mut connection = Connection::new("127.0.0.1", 4321).unwrap();

    assert_eq!(
        server::about::request(&mut connection).unwrap().version(),
        "0.3.0"
    );
    assert!(server::status::request(&mut connection).unwrap().online());
}