X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fp5-HTTP-AnyUA;a=blobdiff_plain;f=lib%2FHTTP%2FAnyUA%2FBackend.pm;h=169a5cf3559b2f68239a65cd9329b8445c1aefd9;hp=26ccb2ded35cc8d9a1729df90fbc7809c858f78d;hb=43c3c127d1b58b2462aac03aab360f9e3cf9a986;hpb=a86162f3ca1ac46c6c078e6d6c7a691922dc23a6 diff --git a/lib/HTTP/AnyUA/Backend.pm b/lib/HTTP/AnyUA/Backend.pm index 26ccb2d..169a5cf 100644 --- a/lib/HTTP/AnyUA/Backend.pm +++ b/lib/HTTP/AnyUA/Backend.pm @@ -23,7 +23,9 @@ package HTTP::AnyUA::Backend; return $resp; } - ### Non-blocking user agents return responses as Future objects: + ### Non-blocking user agents are expected to return Future objects: + + use Future; sub response_is_future { 1 } @@ -69,8 +71,8 @@ return value to and from its L method. =head1 SEE ALSO =for :list -* L - Explanation of the request arguments -* L - Explanation of the response +* L - Explanation of the request arguments +* L - Explanation of the response =cut