NAME

Net::Blossom - Perl client and protocol support for Blossom

SYNOPSIS

use Net::Blossom;

my $client = Net::Blossom->client(
    server => 'https://cdn.example.com',
);

my $response = $client->get_blob($sha256);

DESCRIPTION

Net::Blossom is the main entry point for the Perl implementation of the Blossom protocol. The distribution provides value objects for Blossom protocol data, BUD-11 authorization token creation, Blossom URI handling, server-list handling, and an HTTP client.

This module intentionally keeps a small surface. Most callers should use client or construct Net::Blossom::Client directly.

METHODS

client

my $client = Net::Blossom->client(%args);

Constructs and returns a Net::Blossom::Client. Arguments are passed directly to Net::Blossom::Client->new.

SEE ALSO

Net::Blossom::Client, Net::Blossom::AuthToken, Net::Blossom::BlobDescriptor, Net::Blossom::ServerList, Net::Blossom::URI