Bluesky
view release on metacpan or search on metacpan
"xt",
"inc",
"share",
"eg",
"examples",
"author"
]
},
"optional_features" : {
"websockets" : {
"description" : "Websocket based streaming services",
"prereqs" : {
"runtime" : {
"requires" : {
"Codec::CBOR" : "0",
"Mojo::UserAgent" : "0"
}
}
}
}
},
directory:
- t
- xt
- inc
- share
- eg
- examples
- author
optional_features:
websockets:
description: 'Websocket based streaming services'
requires:
Codec::CBOR: '0'
Mojo::UserAgent: '0'
provides:
Bluesky:
file: lib/Bluesky.pm
version: '1.01'
recommends:
Mojo::UserAgent: '0'
requires:
- `scope`
The requested OAuth scopes. Defaults to `atproto chat.bsky.convo`.
- `on_success`
A callback subroutine invoked after a successful login. Receives the `$bsky` object as an argument.
## `firehose( $callback, [ $url ] )`
Returns a new [At::Protocol::Firehose](https://metacpan.org/pod/At%3A%3AProtocol%3A%3AFirehose) client for real-time streaming.
```perl
my $fh = $bsky->firehose(sub ($header, $body, $err) { ... });
$fh->start();
```
See [At::Protocol::Firehose](https://metacpan.org/pod/At%3A%3AProtocol%3A%3AFirehose) for more details.
# Feed and Content
lib/Bluesky.pod view on Meta::CPAN
The requested OAuth scopes. Defaults to C<atproto chat.bsky.convo>.
=item C<on_success>
A callback subroutine invoked after a successful login. Receives the C<$bsky> object as an argument.
=back
=head2 C<firehose( $callback, [ $url ] )>
Returns a new L<At::Protocol::Firehose> client for real-time streaming.
my $fh = $bsky->firehose(sub ($header, $body, $err) { ... });
$fh->start();
See L<At::Protocol::Firehose> for more details.
=head1 Feed and Content
Methods in this category create, modify, access, and delete content.
( run in 2.382 seconds using v1.01-cache-2.11-cpan-97f6503c9c8 )