blob: 137d50b2d21254fa08938db7825632eccfcf3e63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Matrix client
A perl 6 library for [Matrix](https://matrix.org).
## Status
This project is in early development. A lot of methods returns a raw
`HTTP::Response` and not something from this library.
## Examples
From the `examples` directory:
use v6;
use Matrix::Client;
# Instantiate a new client for a given home-server
my $client = Matrix::Client.new: :home-server<https://matrix.org>
# Login
$client.login: @*ARGS[0], @*ARGS[1];
# Show all joined rooms
say $client.rooms(:sync);
# And finally logout.
$client.logout
|