1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>Connection</title>
8  </head>
9  <body>
10<h1><CODE>nn::http::Connection::Connection</CODE> Constructor</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14explicit Connection(
15     void
16);
17
18explicit Connection(
19     const char * pUrl,
20     <a href="../../../nn/http/RequestMethod.html">RequestMethod</a> method = REQUEST_METHOD_GET,
21     bool isUseDefaultProxy = true
22);
23</pre>
24    </div>
25<h2>List of Overloaded Member Functions</h2>
26    <div class="section">
27      <table class="members">
28        <tr>
29          <td>
30<a href="./Connection(0).html">Connection ( void ) </a>
31          </td>
32<td>Constructor.</td>
33        </tr>
34        <tr>
35          <td>
36<a href="./Connection(1).html">Connection ( const char *, RequestMethod, bool ) </a>
37          </td>
38<td>Constructor.</td>
39        </tr> </table>
40    </div>
41<h2>Description of <CODE>Connection(void)</CODE></h2>
42<div class="section"><p>Constructor that does not perform initialization.</p><p>You must call <a href="../../../nn/os/LightSemaphore/Initialize.html"><CODE>Initialize</CODE></a> separately.</p></div>
43<h2>Description of <CODE>Connection(const char *, RequestMethod, bool)</CODE></h2>
44<div class="section"><p>Constructor that performs initialization. Internally calls the <a href="../../../nn/http/Connection/Initialize.html"><CODE>Initialize</CODE></a> function. (No need to call <a href="../../../nn/http/Connection/Initialize.html"><CODE>Initialize</CODE></a> separately. ) The arguments to this function are the same as those to <a href="../../../nn/http/Connection/Initialize.html"><CODE>Initialize</CODE></a>. See <a href="../../../nn/http/Connection/Initialize.html"><CODE>Initialize</CODE></a> for definitions of the arguments.</p></div>
45  <hr><p>CONFIDENTIAL</p></body>
46</html>