DOKK / manpages / debian 12 / libgitlab-api-v4-perl / GitLab::API::v4::RESTClient.3pm.en
GitLab::API::v4::RESTClient(3pm) User Contributed Perl Documentation GitLab::API::v4::RESTClient(3pm)

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

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.

    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.

    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

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

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

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

2023-02-23 perl v5.36.0