aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 37faf2040ef1eeda1a153b61d95022fed4ee9a62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Matrix client

Simple [matrix](https://matrix.org) client.

# 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;

# And finally logout.
$client.logout
```