NAME

cPanel::APIClient::Service - base class for service objects

SYNOPSIS

See cPanel::APIClient for example usage.

DESCRIPTION

This is a base class for objects that represent access to a specific service with a specific configuration.

METHODS

$name = OBJ->service_name()

Returns the name (e.g., cpanel, whm) of the service that OBJ accesses.

OBJ->cancel( @ARGUMENTS )

Cancels an API call. If the configured transport mechanism cannot cancel requests, an exception is thrown.

See your transport mechanism’s documentation for details about what @ARGUMENTS should be and what this method returns.

LICENSE

Copyright 2020 cPanel, L. L. C. All rights reserved. http://cpanel.net

This is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.