1GitLab::API::v4::WWWCliUesnetr(3Cpomn)tributed Perl DocuGmietnLtaabt:i:oAnPI::v4::WWWClient(3pm)
2
3
4
6 GitLab::API::v4::WWWClient - A client that works against the GitLab web
7 site.
8
10 use GitLab::API::v4::WWWClient;
11
12 my $client = GitLab::API::v4::WWWClient->new(
13 url => 'https://git.example.com/',
14 );
15
16 $client->sign_in( $username, $password );
17
18 my $res = $client->get( $path );
19
21 This class makes it possible to interact with the GitLab web site.
22
24 url
25 This is the base URL to your GitLab web site.
26
28 sign_in
29 $client->sign_in( $username, $password );
30
31 Signs in the client given the username and password.
32
33 get
34 my $res = $client->get( $path );
35
36 Gets the path and returns the HTTP::Tiny response hash.
37
39 See "SUPPORT" in GitLab::API::v4.
40
42 See "AUTHORS" in GitLab::API::v4.
43
45 See "COPYRIGHT AND LICENSE" in GitLab::API::v4.
46
47
48
49perl v5.32.0 2020-07-28 GitLab::API::v4::WWWClient(3pm)