Designing a joint function
<p>I have three functions, that each one of them calls internally the one below it:</p>

<ul>
<li>GetBitrateOverHTTP</li>
<li>GetFilesizeOverHTTP</li>
<li>Is_ServerSupportHTTPRange</li>
</ul>

<p>Each function uses an HTTP Request on it's own. Which means the last function uses only a single HTTP Request, while the first uses three.</p>

<p>The <code>GetBitrateOverHTTP</code> function returns only the bitrate.</p>

<p>These functions work fine on their own, but now I want to get all the three outputs for a specific url.</p>

<p>I thought about:</p>

<ol>
<li>Calling all the functions. The problem is that I'll make 6 HTTP Requests instead of 3.</li>
<li>Changing the definition of the functions to return others vars as well - but then it doesn't serve the basic purpose of the function - to return what it's meant to return. </li>
<li>Definite another function that doesn't use these definitions, but it doesn't seem smart to define again something that has been already coded.</li>
</ol>

<p>Any help?</p>
