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

GitLab::API::v4::WWWClient - A client that works against the GitLab web site.

    use GitLab::API::v4::WWWClient;
    
    my $client = GitLab::API::v4::WWWClient->new(
        url => 'https://git.example.com/',
    );
    
    $client->sign_in( $username, $password );
    
    my $res = $client->get( $path );

This class makes it possible to interact with the GitLab web site.

This is the base URL to your GitLab web site.

    $client->sign_in( $username, $password );

Signs in the client given the username and password.

    my $res = $client->get( $path );

Gets the path and returns the HTTP::Tiny response hash.

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