<html><head><title>Client</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" >
<link rel="stylesheet" title="blkbluw" type="text/css" href="../../../_blkbluw.css" media="all" >
<link rel="alternate stylesheet" title="blkmagw" type="text/css" href="../../../_blkmagw.css" media="all" >
<link rel="alternate stylesheet" title="blkcynw" type="text/css" href="../../../_blkcynw.css" media="all" >
<link rel="alternate stylesheet" title="whtprpk" type="text/css" href="../../../_whtprpk.css" media="all" >
<link rel="alternate stylesheet" title="whtnavk" type="text/css" href="../../../_whtnavk.css" media="all" >
<link rel="alternate stylesheet" title="grygrnk" type="text/css" href="../../../_grygrnk.css" media="all" >
<link rel="alternate stylesheet" title="whtgrng" type="text/css" href="../../../_whtgrng.css" media="all" >
<link rel="alternate stylesheet" title="blkgrng" type="text/css" href="../../../_blkgrng.css" media="all" >
<link rel="alternate stylesheet" title="grygrnw" type="text/css" href="../../../_grygrnw.css" media="all" >
<link rel="alternate stylesheet" title="blkbluw" type="text/css" href="../../../_blkbluw.css" media="all" >
<link rel="alternate stylesheet" title="whtpurk" type="text/css" href="../../../_whtpurk.css" media="all" >
<link rel="alternate stylesheet" title="whtgrng" type="text/css" href="../../../_whtgrng.css" media="all" >
<link rel="alternate stylesheet" title="grygrnw" type="text/css" href="../../../_grygrnw.css" media="all" >
<script type="text/javascript" src="../../../_podly.js"></script>
</head>
<body class='pod'>
<!--
generated by Pod::Simple::HTML v3.29,
using Pod::Simple::PullParser v3.29,
under Perl v5.022001 at Wed Feb 15 11:45:11 2017 GMT.
If you want to change this HTML document, you probably shouldn't do that
by changing it directly. Instead, see about changing the calling options
to Pod::Simple::HTML, and/or subclassing Pod::Simple::HTML,
then reconverting this document from the Pod source.
When in doubt, email the author of Pod::Simple::HTML for advice.
See 'perldoc Pod::Simple::HTML' for more info.
-->
<!-- start doc -->
<p class="backlinktop"><b><a name="___top" href="../../../index.html" accesskey="1" title="All Documents"><<</a></b></p>
<div class='indexgroup'>
<ul class='indexList indexList1'>
<li class='indexItem indexItem1'><a href='#NAME'>NAME</a>
<li class='indexItem indexItem1'><a href='#FUNCTIONS'>FUNCTIONS</a>
<li class='indexItem indexItem1'><a href='#AUTHOR'>AUTHOR</a>
<li class='indexItem indexItem1'><a href='#COPYRIGHT'>COPYRIGHT</a>
</ul>
</div>
<h1><a class='u' href='#___top' title='click to go to top of document'
name="NAME"
>NAME</a></h1>
<p>Client</p>
<h1><a class='u' href='#___top' title='click to go to top of document'
name="FUNCTIONS"
>FUNCTIONS</a></h1>
<dl>
<dt><a name="new($config)"
>new($config)</a></dt>
<dd>
<p>Create a new Client</p>
<p><b>Parameters</b></p>
<p>$config</p>
<pre> Config object</pre>
<dt><a name="get_oauth_client"
>get_oauth_client</a></dt>
<dd>
<pre> Initialize OAuth client</pre>
<dt><a name="get"
>get</a></dt>
<dd>
<pre> GET request to protected resource</pre>
<p><b>Parameters</b></p>
<p>$uri</p>
<pre> Resource URL</pre>
<p>$params</p>
<pre> Hash of parameters</pre>
<p><b>Return value</b></p>
<pre> String</pre>
<dt><a name="post"
>post</a></dt>
<dd>
<pre> POST request to protected resource</pre>
<p><b>Parameters</b></p>
<p>$uri</p>
<pre> Resource URL</pre>
<p>$params</p>
<pre> Hash of parameters</pre>
<p><b>Return value</b></p>
<pre> String</pre>
<dt><a name="put"
>put</a></dt>
<dd>
<pre> PUT request to protected resource</pre>
<p><b>Parameters</b></p>
<p>$uri</p>
<pre> Resource URL</pre>
<p>$params</p>
<pre> Hash of parameters</pre>
<p><b>Return value</b></p>
<pre> String</pre>
<dt><a name="delete"
>delete</a></dt>
<dd>
<pre> DELETE request to protected resource</pre>
<p><b>Parameters</b></p>
<p>$uri</p>
<pre> Resource URL</pre>
<p>$params</p>
<pre> Hash of parameters</pre>
<p><b>Return value</b></p>
<pre> String</pre>
<dt><a name="send_request"
>send_request</a></dt>
<dd>
<pre> Send a signed OAuth request to a specific protected resource</pre>
<p><b>Parameters</b></p>
<p>$uri</p>
<pre> Resource URI</pre>
<p>$method</p>
<pre> Request method</pre>
<p>$params</p>
<pre> API parameters</pre>
<p><b>Return value</b></p>
<pre> String, a response content</pre>
<dt><a name="format_uri"
>format_uri</a></dt>
<dd>
<pre> Create a path to a specific resource</pre>
<p><b>Parameters</b></p>
<p>$uri</p>
<pre> URI to the protected resource</pre>
<p>$epoint</p>
<pre> Specific epoint</pre>
<p><b>Return value</b></p>
<pre> String</pre>
<dt><a name="version"
>version</a></dt>
<dd>
<pre> Get version of native OAuth client</pre>
</dd>
</dl>
<h1><a class='u' href='#___top' title='click to go to top of document'
name="AUTHOR"
>AUTHOR</a></h1>
<p>Maksym Novozhylov <code><mnovozhilov@upwork.com></code></p>
<h1><a class='u' href='#___top' title='click to go to top of document'
name="COPYRIGHT"
>COPYRIGHT</a></h1>
<p>Copyright © Upwork Global Corp., 2015</p>
<p class="backlinkbottom"><b><a name="___bottom" href="../../../index.html" title="All Documents"><<</a></b></p>
<!-- end doc -->
</body></html>