NAME

HTTP::API::Core::Example::TransportAdapters - reference transport adapters

DESCRIPTION

Small reference adapters for common Perl HTTP clients. These helpers are examples rather than public core API: copy or adapt the mapping into your own client or transport distribution.

FUNCTIONS

http_tiny($http)

Returns a transport coderef for an HTTP::Tiny-compatible object. HTTP::Tiny already uses the same response hash shape as HTTP::API::Core.

lwp_user_agent($ua)

Returns a transport coderef for an LWP::UserAgent-compatible object.

mojo_user_agent($ua)

Returns a transport coderef for a Mojo::UserAgent-compatible object.

furl($furl)

Returns a transport coderef for a Furl-compatible object.