Scroll to navigation

GitLab::API::v4::RESTClient(3pm) User Contributed Perl Documentation GitLab::API::v4::RESTClient(3pm)

NAME

GitLab::API::v4::RESTClient - The HTTP client that does the heavy lifting.

DESCRIPTION

Currently this class uses HTTP::Tiny and JSON to do its job. This may change, and the interface may change, so documentation is lacking in order to not mislead people.

If you do want to customize how this class works then take a look at the source.

ATTRIBUTES

http_tiny_request

    my $req = $api->rest_client->http_tiny_request();

The most recent request arrayref as passed to HTTP::Tiny.

If this is "undef" then no request has been made.

http_tiny_response

    my $res = $api->rest_client->http_tiny_response();

The most recent response hashref as passed back from HTTP::Tiny.

If this is "undef" and "request" is defined then no response was received and you will have encountered an error when making the request

SUPPORT

See "SUPPORT" in GitLab::API::v4.

AUTHORS

See "AUTHORS" in GitLab::API::v4.

COPYRIGHT AND LICENSE

See "COPYRIGHT AND LICENSE" in GitLab::API::v4.

2021-01-31 perl v5.32.0