GitLab...TClient(3pm)
πΈ GitLab::API::v4::RESTClient πΈ
okay bestie, so this is a page from the User Contributed Perl Documentation set, and the star of the show is GitLab::API::v4::RESTClient π
β¨ NAME β¨
GitLab::API::v4::RESTClient β the HTTP client that does the heavy lifting πͺ no cap, it's literally the one carrying all the boxes.
π¦ DESCRIPTION π¦
okay so right now? this class is using HTTP::Tiny and JSON::MaybeXS to do its whole job. that's the current vibe π
but lowkey β this may change, and the interface may change too. so the documentation is intentionally lacking, so it doesn't go around misleading people. which is honestly so considerate of it π«Ά
and if you do wanna customize how this class works? bestie, you're gonna have to go look at the source. that's the assignment πβ¨
π ATTRIBUTES π
π http_tiny_request
my $req = $api->rest_client->http_tiny_request();
this is the most recent request arrayref, exactly as it got passed to HTTP::Tiny. iconic behaviour, truly π
and if this is undef? that means no request has been made. nothing happened. zero. the void. π³οΈ
π http_tiny_response
my $res = $api->rest_client->http_tiny_response();
this one is the most recent response hashref, exactly as it got passed back from HTTP::Tiny. the receipts, fr fr π§Ύ
but listen β if this is undef and request is defined? that means no response was received, and you will have encountered an error when making the request π that's the "sent it into the void and the void said nothing back" situation. devastating. π
π«Ά SUPPORT π«Ά
See "SUPPORT" in GitLab::API::v4. it's all over there, bestie π¦
π AUTHORS π
See "AUTHORS" in GitLab::API::v4. the legends themselves β¨
π LICENSE π
See "LICENSE" in GitLab::API::v4. go read it, it's giving responsible ππ
and that's the whole page, bestie!! π this was perl v5.36.0 energy, dated 2023-06-13, straight from the User Contributed Perl Documentation crew β slay, stay hydrated, and may all your responses come back defined πβ¨π
π¦ where this page comes from
- debian trixie: libgitlab-api-v4-perl 0.27-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libgitlab-api-v4-perl 0.27-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libgitlab-api-v4-perl 0.27-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libgitlab-api-v4-perl 0.27-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms