NAME

WebService::Async::Request - Request class for internal use only.

METHODS

new(%options)

Constructor.

keys

A unique id for the request.

method

GET or POST.

url

Request URL.

param

Request header parameters.

body

Request body parameters.

on_done

Code reference which invoked when the request is finished.

key_for_cache

Key using when response is cached.

get_keys_as_hash

The key is ArrayRef. This method convert it to HashRef.

finalize

Building URL, header, request body and caching key.

AUTHOR

keroyonn <keroyon@cpan.org>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.