\hypertarget{group__Ecore__Con__Url__Group}{}\section{Ecore U\+R\+L Connection Functions}
\label{group__Ecore__Con__Url__Group}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}


Utility functions that set up, use and shut down the Ecore U\+R\+L Connection library.  


\subsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{struct__Ecore__Con__Event__Url__Data}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Data}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the \hyperlink{group__Ecore__Con__Events__Group_ga6ebe51236dac1bc1255b5b390cc9e6e3}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+D\+A\+T\+A} event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Con__Event__Url__Complete}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Complete}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the \hyperlink{group__Ecore__Con__Events__Group_gae90b9b857e1e0adc0c7f24e7ccecb44b}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E} event. \end{DoxyCompactList}\item 
struct \hyperlink{struct__Ecore__Con__Event__Url__Progress}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Progress}
\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the \hyperlink{group__Ecore__Con__Events__Group_ga2a169e3fec20576f464b844df18143f8}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S} event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Ecore__Con__Url__Group_gae49ebb07c15d6556b70edd28093b5b90}{}typedef enum \hyperlink{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time} {\bfseries Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}\label{group__Ecore__Con__Url__Group_gae49ebb07c15d6556b70edd28093b5b90}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga348035f794b584d602402c4c113875eb}{}typedef enum \hyperlink{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version} {\bfseries Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}\label{group__Ecore__Con__Url__Group_ga348035f794b584d602402c4c113875eb}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga4a852b5c3b987f7121335a65edb57e30}{}typedef struct \hyperlink{struct__Ecore__Con__Event__Url__Data}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Data} \hyperlink{group__Ecore__Con__Url__Group_ga4a852b5c3b987f7121335a65edb57e30}{Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Data}\label{group__Ecore__Con__Url__Group_ga4a852b5c3b987f7121335a65edb57e30}

\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the corresponding event. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Con__Url__Group_gab9574a94d94e0666014017da95859101}{}typedef struct \hyperlink{struct__Ecore__Con__Event__Url__Complete}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Complete} \hyperlink{group__Ecore__Con__Url__Group_gab9574a94d94e0666014017da95859101}{Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Complete}\label{group__Ecore__Con__Url__Group_gab9574a94d94e0666014017da95859101}

\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the corresponding event. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Con__Url__Group_ga747059128eafe43198aca46022d24d07}{}typedef struct \hyperlink{struct__Ecore__Con__Event__Url__Progress}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Progress} \hyperlink{group__Ecore__Con__Url__Group_ga747059128eafe43198aca46022d24d07}{Ecore\+\_\+\+Con\+\_\+\+Event\+\_\+\+Url\+\_\+\+Progress}\label{group__Ecore__Con__Url__Group_ga747059128eafe43198aca46022d24d07}

\begin{DoxyCompactList}\small\item\em Used as the {\ttfamily data} param for the corresponding event. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time} \{ \\*
\hyperlink{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba9e4d490da20f62548bd97d409c475436}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+N\+O\+N\+E} = 0, 
\\*
\hyperlink{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6bad3aba66e3ab06bb1c66942641a0b2d29}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+M\+O\+D\+S\+I\+N\+C\+E}, 
\\*
\hyperlink{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba2d5e568c8b773072e14e432336a09032}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+U\+N\+M\+O\+D\+S\+I\+N\+C\+E}
 \}\begin{DoxyCompactList}\small\item\em The type of condition to use when making an H\+T\+T\+P request dependent on time, so that headers such as \char`\"{}\+If-\/\+Modified-\/\+Since\char`\"{} are used. \end{DoxyCompactList}
\item 
enum \hyperlink{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version} \{ \\*
\hyperlink{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa55f2d8b8fffda55eff07b42fec3a1943}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+0}, 
\\*
\hyperlink{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa178312d197e62f3bfcca05c0e908716b}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+1}
 \}\begin{DoxyCompactList}\small\item\em The http version to use. \end{DoxyCompactList}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_ga2370b8723450b29b42d7e96c2eef9015}{ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version version)
\begin{DoxyCompactList}\small\item\em Change the H\+T\+T\+P version used for the request. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ecore__Con__Url__Group_gac3fbeaf9cde529362e4567fc37e45c9f}{ecore\+\_\+con\+\_\+url\+\_\+init} (void)
\begin{DoxyCompactList}\small\item\em Initialise the Ecore\+\_\+\+Con\+\_\+\+Url library. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ecore__Con__Url__Group_ga0da252aa2c919722894dd41cc6549435}{ecore\+\_\+con\+\_\+url\+\_\+shutdown} (void)
\begin{DoxyCompactList}\small\item\em Shut down the Ecore\+\_\+\+Con\+\_\+\+Url library. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga39a8588deb7f759d7808496c477fe28e}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set} (\hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} enable)
\begin{DoxyCompactList}\small\item\em Enable or disable H\+T\+T\+P 1.\+1 pipelining. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_ga1abb9bf94b5d36f19b0809bb8639e17b}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get} (void)
\begin{DoxyCompactList}\small\item\em Is H\+T\+T\+P 1.\+1 pipelining enable ? \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} Ecore\+\_\+\+Con\+\_\+\+Url $\ast$ \hyperlink{group__Ecore__Con__Url__Group_gae40b7c1a94413166c61524b707118f19}{ecore\+\_\+con\+\_\+url\+\_\+new} (const char $\ast$url)
\begin{DoxyCompactList}\small\item\em Create and initialize a new Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} Ecore\+\_\+\+Con\+\_\+\+Url $\ast$ \hyperlink{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new} (const char $\ast$url, const char $\ast$custom\+\_\+request)
\begin{DoxyCompactList}\small\item\em Create a custom connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga711510886aaece16f5dee6903c603fb2}{ecore\+\_\+con\+\_\+url\+\_\+free} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Destroy a Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga194f122b9e4e9f2aa9b5c2f07e9d7f3e}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, void $\ast$data)
\begin{DoxyCompactList}\small\item\em Associate data with a connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void $\ast$ \hyperlink{group__Ecore__Con__Url__Group_gacad8548217172607bad2d2741935ffaa}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Retrieve data associated with a Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga1f9939c84aa5128d5197f1939d8cffeb}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$key, const char $\ast$value)
\begin{DoxyCompactList}\small\item\em Add an additional header to the request connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga561de401df50cb1058b6ddf8d1590f23}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Clean additional headers. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} const \hyperlink{group__Eina__List__Group_ga3295e1210efea1fb0fd6acbf3cbc1f29}{Eina\+\_\+\+List} $\ast$ \hyperlink{group__Ecore__Con__Url__Group_gad2b33c58653c013adbd0953555081fc6}{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Retrieve headers from last request sent. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga7b58b82b9b49060642ad3fe64348dc8d}{ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, int fd)
\begin{DoxyCompactList}\small\item\em Set up a file for receiving response data. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ecore__Con__Url__Group_ga9587eb74811d11b69b281a715b6fd1a1}{ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Retrieve the number of bytes received. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_ga9834a4bf039957602a8966ae4d628ffb}{ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$username, const char $\ast$password, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} safe)
\begin{DoxyCompactList}\small\item\em Set url\+\_\+con to use http auth, with given username and password, \char`\"{}safely\char`\"{} or not. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\+\_\+con\+\_\+url\+\_\+get} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Send a get request. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_gafcc52a1a246ce14a5c6f114f56d0f946}{ecore\+\_\+con\+\_\+url\+\_\+head} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Send a H\+E\+A\+D request. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\+\_\+con\+\_\+url\+\_\+post} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const void $\ast$data, long length, const char $\ast$content\+\_\+type)
\begin{DoxyCompactList}\small\item\em Send a post request. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_gac93f0e4c37e17b87e95212887a097f26}{ecore\+\_\+con\+\_\+url\+\_\+time} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time time\+\_\+condition, double timestamp)
\begin{DoxyCompactList}\small\item\em Set whether H\+T\+T\+P requests should be conditional, dependent on modification time. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_gab5e2fba44b6bae1248ad3969eb35c9e6}{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$filename, const char $\ast$user, const char $\ast$pass, const char $\ast$upload\+\_\+dir)
\begin{DoxyCompactList}\small\item\em Upload a file to an ftp site. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga45a962a3b08b35fb5c1468ebe643ea2b}{ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} verbose)
\begin{DoxyCompactList}\small\item\em Toggle libcurl\textquotesingle{}s verbose output. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga77adad47d775cf572b9ba14db5bde941}{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} use\+\_\+epsv)
\begin{DoxyCompactList}\small\item\em Enable or disable E\+P\+S\+V extension. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_gae5c1b9a66fefc8787639f7c8a93385f7}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Enable the cookie engine for subsequent H\+T\+T\+P requests. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga0261c1100b21b04b4bfad979fa9f9a39}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} ignore)
\begin{DoxyCompactList}\small\item\em Control whether session cookies from previous sessions shall be loaded. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga551d90e851f84148c3c5d130513538d9}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Clear currently loaded cookies. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga683faee0b33eda35c0d5e818829161c0}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Clear currently loaded session cookies. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$const file\+\_\+name)
\begin{DoxyCompactList}\small\item\em Add a file to the list of files from which to load cookies. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$const cookiejar\+\_\+file)
\begin{DoxyCompactList}\small\item\em Set the name of the file to which all current cookies will be written when either cookies are flushed or Ecore\+\_\+\+Con is shut down. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_gaa963de30a668dea0055ae94d940f00fa}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Write all current cookies to the cookie jar immediately. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_ga16db8cf2a6227b7766e0ebf5e272b8e5}{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} verify)
\begin{DoxyCompactList}\small\item\em Toggle libcurl\textquotesingle{}s verify peer\textquotesingle{}s certificate option. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ecore__Con__Url__Group_gacaffb9669561ace288d7de0aefbc19f4}{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, const char $\ast$ca\+\_\+path)
\begin{DoxyCompactList}\small\item\em Set a custom C\+A to trust for S\+S\+L/\+T\+L\+S connections. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_gaaf14a203022524309acfa0a90923e80f}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$proxy)
\begin{DoxyCompactList}\small\item\em Set H\+T\+T\+P proxy to use. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_gaa1e9370197fafd695321e360e753bd28}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$username)
\begin{DoxyCompactList}\small\item\em Set zero terminated username to use for proxy. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} \hyperlink{group__Ecore__Con__Url__Group_gad98f8f61c9aecb5ec664df0d2e59e7f4}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$password)
\begin{DoxyCompactList}\small\item\em Set zero terminated password to use for proxy. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} void \hyperlink{group__Ecore__Con__Url__Group_gaecf4c900b23c7d25a1bd6d777ada44aa}{ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, double timeout)
\begin{DoxyCompactList}\small\item\em Set timeout in seconds. \end{DoxyCompactList}\item 
\hyperlink{group__Elua_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ecore__Con__Url__Group_gaf2e8dc10b2fcad5bbf012c0936424251}{ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)
\begin{DoxyCompactList}\small\item\em Get the returned H\+T\+T\+P S\+T\+A\+T\+U\+S code. \end{DoxyCompactList}\item 
\hypertarget{group__Ecore__Con__Url__Group_ga9361e910dd943f24b8733d50a3fa0637}{}static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} {\bfseries \+\_\+efl\+\_\+network\+\_\+url\+\_\+event\+\_\+complete\+\_\+cb} (void $\ast$data, \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$child, const \hyperlink{group__Eo_ga4e70e342d95de3379f9ec062310727aa}{Eo\+\_\+\+Event\+\_\+\+Description} $\ast$desc, void $\ast$einfo)\label{group__Ecore__Con__Url__Group_ga9361e910dd943f24b8733d50a3fa0637}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga7244996f033a1ea9063367a29d6379ab}{}static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} {\bfseries \+\_\+efl\+\_\+network\+\_\+url\+\_\+event\+\_\+data\+\_\+cb} (void $\ast$data, \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$child, const \hyperlink{group__Eo_ga4e70e342d95de3379f9ec062310727aa}{Eo\+\_\+\+Event\+\_\+\+Description} $\ast$desc, void $\ast$einfo)\label{group__Ecore__Con__Url__Group_ga7244996f033a1ea9063367a29d6379ab}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga8fbe4cca971e0dce0431553b93a867d6}{}static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} {\bfseries \+\_\+efl\+\_\+network\+\_\+url\+\_\+event\+\_\+progress\+\_\+cb} (void $\ast$data, \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$child, const \hyperlink{group__Eo_ga4e70e342d95de3379f9ec062310727aa}{Eo\+\_\+\+Event\+\_\+\+Description} $\ast$desc, void $\ast$einfo)\label{group__Ecore__Con__Url__Group_ga8fbe4cca971e0dce0431553b93a867d6}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga71315cbdedce39d626f1a2e975e3ebd6}{}{\bfseries E\+O\+\_\+\+C\+A\+L\+L\+B\+A\+C\+K\+S\+\_\+\+A\+R\+R\+A\+Y\+\_\+\+D\+E\+F\+I\+N\+E} (efl\+\_\+network\+\_\+url\+\_\+event\+\_\+table\+\_\+callbacks,\{E\+F\+L\+\_\+\+N\+E\+T\+W\+O\+R\+K\+\_\+\+U\+R\+L\+\_\+\+E\+V\+E\+N\+T\+\_\+\+D\+A\+T\+A, \+\_\+efl\+\_\+network\+\_\+url\+\_\+event\+\_\+data\+\_\+cb\},\{E\+F\+L\+\_\+\+N\+E\+T\+W\+O\+R\+K\+\_\+\+U\+R\+L\+\_\+\+E\+V\+E\+N\+T\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S, \+\_\+efl\+\_\+network\+\_\+url\+\_\+event\+\_\+progress\+\_\+cb\},\{E\+F\+L\+\_\+\+N\+E\+T\+W\+O\+R\+K\+\_\+\+U\+R\+L\+\_\+\+E\+V\+E\+N\+T\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E, \+\_\+efl\+\_\+network\+\_\+url\+\_\+event\+\_\+complete\+\_\+cb\})\label{group__Ecore__Con__Url__Group_ga71315cbdedce39d626f1a2e975e3ebd6}

\item 
\hypertarget{group__Ecore__Con__Url__Group_gabd0333c289bb548f81ecbffd649c6d65}{}static E\+O\+L\+I\+A\+N \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$ {\bfseries \+\_\+efl\+\_\+network\+\_\+url\+\_\+eo\+\_\+base\+\_\+constructor} (Efl\+\_\+\+Network\+\_\+\+Url $\ast$url\+\_\+obj, Efl\+\_\+\+Network\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con)\label{group__Ecore__Con__Url__Group_gabd0333c289bb548f81ecbffd649c6d65}

\item 
\hypertarget{group__Ecore__Con__Url__Group_gad41fd70323ca165c6aa1493c03112f1d}{}static E\+O\+L\+I\+A\+N \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$ {\bfseries \+\_\+efl\+\_\+network\+\_\+url\+\_\+eo\+\_\+base\+\_\+finalize} (Efl\+\_\+\+Network\+\_\+\+Url $\ast$url\+\_\+obj, Efl\+\_\+\+Network\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con)\label{group__Ecore__Con__Url__Group_gad41fd70323ca165c6aa1493c03112f1d}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga7f0947e188a597ce8c6ee06206157f88}{}static void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+free\+\_\+internal} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj)\label{group__Ecore__Con__Url__Group_ga7f0947e188a597ce8c6ee06206157f88}

\item 
\hypertarget{group__Ecore__Con__Url__Group_gaaed5382341d1a961ec2a61146951bc69}{}static E\+O\+L\+I\+A\+N void {\bfseries \+\_\+efl\+\_\+network\+\_\+url\+\_\+eo\+\_\+base\+\_\+destructor} (Efl\+\_\+\+Network\+\_\+\+Url $\ast$url\+\_\+obj, Efl\+\_\+\+Network\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con)\label{group__Ecore__Con__Url__Group_gaaed5382341d1a961ec2a61146951bc69}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga49fcd227ce953f3e20cd2070a8f414ca}{}static E\+O\+L\+I\+A\+N const char $\ast$ {\bfseries \+\_\+efl\+\_\+network\+\_\+url\+\_\+url\+\_\+get} (Efl\+\_\+\+Network\+\_\+\+Url $\ast$url\+\_\+obj, Efl\+\_\+\+Network\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con)\label{group__Ecore__Con__Url__Group_ga49fcd227ce953f3e20cd2070a8f414ca}

\item 
\hypertarget{group__Ecore__Con__Url__Group_gac4659d0f429223cb313aea358d53f608}{}static E\+O\+L\+I\+A\+N \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} {\bfseries \+\_\+efl\+\_\+network\+\_\+url\+\_\+url\+\_\+set} (Efl\+\_\+\+Network\+\_\+\+Url $\ast$url\+\_\+obj, Efl\+\_\+\+Network\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con, const char $\ast$url)\label{group__Ecore__Con__Url__Group_gac4659d0f429223cb313aea358d53f608}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga249ea361c19bea1c939c40415a3a211f}{}static \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+send} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Mode mode, const void $\ast$data, long length, const char $\ast$content\+\_\+type)\label{group__Ecore__Con__Url__Group_ga249ea361c19bea1c939c40415a3a211f}

\end{DoxyCompactItemize}
\subsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Ecore__Con__Url__Group_ga595946be0977bd72aa89e5fd0f253a46}{}\hyperlink{group__Ecore__Con__Socks__Group_ga8d73843280aa03c57d1266c9b5193264}{Ecore\+\_\+\+Con\+\_\+\+Socks} $\ast$ {\bfseries \+\_\+ecore\+\_\+con\+\_\+proxy\+\_\+global}\label{group__Ecore__Con__Url__Group_ga595946be0977bd72aa89e5fd0f253a46}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
Utility functions that set up, use and shut down the Ecore U\+R\+L Connection library. 

These functions are a shortcut to make it easy to perform http requests (P\+O\+S\+T, G\+E\+T, etc).

Brief usage\+:
\begin{DoxyEnumerate}
\item Create an Ecore\+\_\+\+Con\+\_\+\+Url object with ecore\+\_\+con\+\_\+url\+\_\+new(url);
\item Register to receive the \hyperlink{group__Ecore__Con__Events__Group_gae90b9b857e1e0adc0c7f24e7ccecb44b}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E} event (and optionally the \hyperlink{group__Ecore__Con__Events__Group_ga6ebe51236dac1bc1255b5b390cc9e6e3}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+D\+A\+T\+A} and \hyperlink{group__Ecore__Con__Events__Group_ga2a169e3fec20576f464b844df18143f8}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S} event to receive the response, e.\+g. for H\+T\+T\+P/\+F\+T\+P downloads)
\item Perform the operation with ecore\+\_\+con\+\_\+url\+\_\+get(...);
\end{DoxyEnumerate}

Note that it is good to reuse Ecore\+\_\+\+Con\+\_\+\+Url objects wherever possible, but bear in mind that each one can only perform one operation at a time. You need to wait for the \hyperlink{group__Ecore__Con__Events__Group_gae90b9b857e1e0adc0c7f24e7ccecb44b}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E} event before re-\/using or destroying the object.

If it\textquotesingle{}s necessary to change the Ecore\+\_\+\+Con\+\_\+\+Url object url, use ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set().

Simple Usage 1 (H\+T\+T\+P G\+E\+T)\+: 
\begin{DoxyCode}
ecore\_con\_url\_url\_set(url\_con, \textcolor{stringliteral}{"http://www.google.com"});
\hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\_con\_url\_get}(url\_con);
\end{DoxyCode}


Simple usage 2 (H\+T\+T\+P P\+O\+S\+T)\+: 
\begin{DoxyCode}
ecore\_con\_url\_url\_set(url\_con, \textcolor{stringliteral}{"http://www.example.com/post\_handler.cgi"});
\hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\_con\_url\_post}(url\_con, data, data\_length, \textcolor{stringliteral}{"multipart/form-data"});
\end{DoxyCode}


Simple Usage 3 (F\+T\+P download)\+: 
\begin{DoxyCode}
fd = creat(filename, 0644)
ecore\_con\_url\_url\_set(url\_con, "ftp:\textcolor{comment}{//ftp.example.com/pub/myfile");}
\hyperlink{group__Ecore__Con__Url__Group_ga7b58b82b9b49060642ad3fe64348dc8d}{ecore\_con\_url\_fd\_set}(url\_con, fd);
\hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\_con\_url\_get}(url\_con);
\end{DoxyCode}


Simple Usage 4 (F\+T\+P upload as \href{ftp://ftp.example.com/file}{\tt ftp\+://ftp.\+example.\+com/file})\+: 
\begin{DoxyCode}
ecore\_con\_url\_url\_set(url\_con, \textcolor{stringliteral}{"ftp://ftp.example.com"});
\hyperlink{group__Ecore__Con__Url__Group_gab5e2fba44b6bae1248ad3969eb35c9e6}{ecore\_con\_url\_ftp\_upload}(url\_con, \textcolor{stringliteral}{"/tmp/file"}, \textcolor{stringliteral}{"user"}, \textcolor{stringliteral}{"pass"}, NULL);
\end{DoxyCode}


Simple Usage 5 (F\+T\+P upload as \href{ftp://ftp.example.com/dir/file}{\tt ftp\+://ftp.\+example.\+com/dir/file})\+: 
\begin{DoxyCode}
ecore\_con\_url\_url\_set(url\_con, \textcolor{stringliteral}{"ftp://ftp.example.com"});
\hyperlink{group__Ecore__Con__Url__Group_gab5e2fba44b6bae1248ad3969eb35c9e6}{ecore\_con\_url\_ftp\_upload}(url\_con, \textcolor{stringliteral}{"/tmp/file"}, \textcolor{stringliteral}{"user"}, \textcolor{stringliteral}{"pass"},\textcolor{stringliteral}{"dir"});
\end{DoxyCode}


These are complete examples for the A\+P\+I\+: \begin{DoxyItemize}
\item \hyperlink{ecore_con_url_download_example_8c-example}{Downloading a file} \item \hyperlink{ecore_con_url_headers_example_8c-example}{Setting many options for the connection} \end{DoxyItemize}


\subsection{Enumeration Type Documentation}
\hypertarget{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time@{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}}
\index{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time@{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf \+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}}\label{group__Ecore__Con__Url__Group_ga7fd1cb32a295b11143fb1660dc8bcd6b}


The type of condition to use when making an H\+T\+T\+P request dependent on time, so that headers such as \char`\"{}\+If-\/\+Modified-\/\+Since\char`\"{} are used. 

\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+N\+O\+N\+E@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+N\+O\+N\+E}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+N\+O\+N\+E@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+N\+O\+N\+E}}\item[{\em 
\hypertarget{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba9e4d490da20f62548bd97d409c475436}{}E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+N\+O\+N\+E\label{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba9e4d490da20f62548bd97d409c475436}
}]Do not place time restrictions on the H\+T\+T\+P requests. \index{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+M\+O\+D\+S\+I\+N\+C\+E@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+M\+O\+D\+S\+I\+N\+C\+E}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+M\+O\+D\+S\+I\+N\+C\+E@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+M\+O\+D\+S\+I\+N\+C\+E}}\item[{\em 
\hypertarget{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6bad3aba66e3ab06bb1c66942641a0b2d29}{}E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+M\+O\+D\+S\+I\+N\+C\+E\label{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6bad3aba66e3ab06bb1c66942641a0b2d29}
}]Add the \char`\"{}\+If-\/\+Modified-\/\+Since\char`\"{} H\+T\+T\+P header, so that the request is performed by the server only if the target has been modified since the time value passed to it in the request. \index{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+U\+N\+M\+O\+D\+S\+I\+N\+C\+E@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+U\+N\+M\+O\+D\+S\+I\+N\+C\+E}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+U\+N\+M\+O\+D\+S\+I\+N\+C\+E@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+U\+N\+M\+O\+D\+S\+I\+N\+C\+E}}\item[{\em 
\hypertarget{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba2d5e568c8b773072e14e432336a09032}{}E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+T\+I\+M\+E\+\_\+\+I\+F\+U\+N\+M\+O\+D\+S\+I\+N\+C\+E\label{group__Ecore__Con__Url__Group_gga7fd1cb32a295b11143fb1660dc8bcd6ba2d5e568c8b773072e14e432336a09032}
}]Add the \char`\"{}\+If-\/\+Unmodified-\/\+Since\char`\"{} H\+T\+T\+P header, so that the request is performed by the server only if the target has N\+O\+T been modified since the time value passed to it in the request. \end{description}
\end{Desc}
\hypertarget{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version@{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}}
\index{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version@{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{\+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf \+\_\+\+Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}}\label{group__Ecore__Con__Url__Group_gadd77e428288401c56f7b15ee2eba662f}


The http version to use. 

\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{Desc}
\item[Enumerator]\par
\begin{description}
\index{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+0@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+0}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+0@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+0}}\item[{\em 
\hypertarget{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa55f2d8b8fffda55eff07b42fec3a1943}{}E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+0\label{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa55f2d8b8fffda55eff07b42fec3a1943}
}]H\+T\+T\+P version 1.\+0. \begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\index{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+1@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+1}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+1@{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+1}}\item[{\em 
\hypertarget{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa178312d197e62f3bfcca05c0e908716b}{}E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+1\label{group__Ecore__Con__Url__Group_ggadd77e428288401c56f7b15ee2eba662fa178312d197e62f3bfcca05c0e908716b}
}]H\+T\+T\+P version 1.\+1 (default) \begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\end{description}
\end{Desc}


\subsection{Function Documentation}
\hypertarget{group__Ecore__Con__Url__Group_ga2370b8723450b29b42d7e96c2eef9015}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version version)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+http\+\_\+version\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Http\+\_\+\+Version}]{version}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga2370b8723450b29b42d7e96c2eef9015}


Change the H\+T\+T\+P version used for the request. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object through which the request will be sent. \\
\hline
{\em version} & The version to be used \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on failure to change version. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga1abb9bf94b5d36f19b0809bb8639e17b}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get()} 
\end{DoxySeeAlso}


References E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+0, E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+U\+R\+L\+\_\+\+H\+T\+T\+P\+\_\+\+V\+E\+R\+S\+I\+O\+N\+\_\+1\+\_\+1, E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, eo\+\_\+data\+\_\+scope\+\_\+get(), eo\+\_\+isa(), and E\+R\+R.

\hypertarget{group__Ecore__Con__Url__Group_gac3fbeaf9cde529362e4567fc37e45c9f}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+init@{ecore\+\_\+con\+\_\+url\+\_\+init}}
\index{ecore\+\_\+con\+\_\+url\+\_\+init@{ecore\+\_\+con\+\_\+url\+\_\+init}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+init(void)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ecore\+\_\+con\+\_\+url\+\_\+init (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gac3fbeaf9cde529362e4567fc37e45c9f}


Initialise the Ecore\+\_\+\+Con\+\_\+\+Url library. 

\begin{DoxyReturn}{Returns}
Number of times the library has been initialised without being shut down.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This function doesn\textquotesingle{}t call \hyperlink{group__Ecore__Con__Events__Group_gacf5ecf42c516bb9c8b6759721e9559bd}{ecore\+\_\+con\+\_\+init()}. You still need to call it explicitly before calling this one. 
\end{DoxyNote}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}, \hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}, and \hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E, E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+D\+A\+T\+A, E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S, ecore\+\_\+event\+\_\+type\+\_\+new(), and ecore\+\_\+init().

\hypertarget{group__Ecore__Con__Url__Group_ga0da252aa2c919722894dd41cc6549435}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+shutdown@{ecore\+\_\+con\+\_\+url\+\_\+shutdown}}
\index{ecore\+\_\+con\+\_\+url\+\_\+shutdown@{ecore\+\_\+con\+\_\+url\+\_\+shutdown}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+shutdown(void)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ecore\+\_\+con\+\_\+url\+\_\+shutdown (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga0da252aa2c919722894dd41cc6549435}


Shut down the Ecore\+\_\+\+Con\+\_\+\+Url library. 

\begin{DoxyReturn}{Returns}
Number of calls that still uses Ecore\+\_\+\+Con\+\_\+\+Url
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This function doesn\textquotesingle{}t call \hyperlink{group__Ecore__Con__Events__Group_gaccfd8dd2a1187b71339b5cc39dc83938}{ecore\+\_\+con\+\_\+shutdown()}. You still need to call it explicitly after calling this one. 
\end{DoxyNote}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}, \hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}, and \hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References ecore\+\_\+con\+\_\+url\+\_\+free(), ecore\+\_\+main\+\_\+fd\+\_\+handler\+\_\+del(), ecore\+\_\+shutdown(), ecore\+\_\+timer\+\_\+del(), and E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E.

\hypertarget{group__Ecore__Con__Url__Group_ga39a8588deb7f759d7808496c477fe28e}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set(\+Eina\+\_\+\+Bool enable)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set (
\begin{DoxyParamCaption}
\item[{{\bf Eina\+\_\+\+Bool}}]{enable}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga39a8588deb7f759d7808496c477fe28e}


Enable or disable H\+T\+T\+P 1.\+1 pipelining. 


\begin{DoxyParams}{Parameters}
{\em enable} & {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} will turn it on, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} will disable it.\\
\hline
\end{DoxyParams}
Pipelining allows to send one request after another one, without having to wait for the reply of the first request. The respective replies are received in the order that the requests were sent.

Enabling this feature will be valid for all requests done using {\ttfamily ecore\+\_\+con\+\_\+url}.

See \href{http://en.wikipedia.org/wiki/HTTP_pipelining}{\tt http\+://en.\+wikipedia.\+org/wiki/\+H\+T\+T\+P\+\_\+pipelining} for more info.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga1abb9bf94b5d36f19b0809bb8639e17b}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}
\hypertarget{group__Ecore__Con__Url__Group_ga1abb9bf94b5d36f19b0809bb8639e17b}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get}}
\index{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get(void)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+get (
\begin{DoxyParamCaption}
\item[{void}]{}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga1abb9bf94b5d36f19b0809bb8639e17b}


Is H\+T\+T\+P 1.\+1 pipelining enable ? 

\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} if it is enable.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga39a8588deb7f759d7808496c477fe28e}{ecore\+\_\+con\+\_\+url\+\_\+pipeline\+\_\+set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}
\hypertarget{group__Ecore__Con__Url__Group_gae40b7c1a94413166c61524b707118f19}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+new@{ecore\+\_\+con\+\_\+url\+\_\+new}}
\index{ecore\+\_\+con\+\_\+url\+\_\+new@{ecore\+\_\+con\+\_\+url\+\_\+new}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+new(const char $\ast$url)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} Ecore\+\_\+\+Con\+\_\+\+Url $\ast$ ecore\+\_\+con\+\_\+url\+\_\+new (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{url}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gae40b7c1a94413166c61524b707118f19}


Create and initialize a new Ecore\+\_\+\+Con\+\_\+\+Url connection object. 


\begin{DoxyParams}{Parameters}
{\em url} & U\+R\+L that will receive requests. Can be changed using ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily N\+U\+L\+L} on error, a new Ecore\+\_\+\+Con\+\_\+\+Url on success.
\end{DoxyReturn}
Create and initialize a new Ecore\+\_\+\+Con\+\_\+\+Url connection object that can be used for sending requests.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()} 

ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set() 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}, and \hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+add, and eo\+\_\+event\+\_\+callback\+\_\+array\+\_\+add.



Referenced by ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new().

\hypertarget{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new@{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new}}
\index{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new@{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new(const char $\ast$url, const char $\ast$custom\+\_\+request)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} Ecore\+\_\+\+Con\+\_\+\+Url $\ast$ ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{url, }
\item[{const char $\ast$}]{custom\+\_\+request}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}


Create a custom connection object. 


\begin{DoxyParams}{Parameters}
{\em url} & U\+R\+L that will receive requests \\
\hline
{\em custom\+\_\+request} & Custom request (e.\+g. G\+E\+T, P\+O\+S\+T, H\+E\+A\+D, P\+U\+T, etc)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily N\+U\+L\+L} on error, a new Ecore\+\_\+\+Con\+\_\+\+Url on success.
\end{DoxyReturn}
Create and initialize a new Ecore\+\_\+\+Con\+\_\+\+Url for a custom request (e.\+g. H\+E\+A\+D, S\+U\+B\+S\+C\+R\+I\+B\+E and other obscure H\+T\+T\+P requests). This object should be used like one created with \hyperlink{group__Ecore__Con__Url__Group_gae40b7c1a94413166c61524b707118f19}{ecore\+\_\+con\+\_\+url\+\_\+new()}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_gae40b7c1a94413166c61524b707118f19}{ecore\+\_\+con\+\_\+url\+\_\+new()} 

ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set() 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References ecore\+\_\+con\+\_\+url\+\_\+free(), ecore\+\_\+con\+\_\+url\+\_\+new(), eo\+\_\+data\+\_\+scope\+\_\+get(), and E\+R\+R.

\hypertarget{group__Ecore__Con__Url__Group_ga711510886aaece16f5dee6903c603fb2}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+free@{ecore\+\_\+con\+\_\+url\+\_\+free}}
\index{ecore\+\_\+con\+\_\+url\+\_\+free@{ecore\+\_\+con\+\_\+url\+\_\+free}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+free(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+free (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga711510886aaece16f5dee6903c603fb2}


Destroy a Ecore\+\_\+\+Con\+\_\+\+Url connection object. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to free.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_gae40b7c1a94413166c61524b707118f19}{ecore\+\_\+con\+\_\+url\+\_\+new()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}, \hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}, and \hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+del(), and eo\+\_\+isa().



Referenced by ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new(), ecore\+\_\+con\+\_\+url\+\_\+shutdown(), and ecore\+\_\+file\+\_\+download\+\_\+abort().

\hypertarget{group__Ecore__Con__Url__Group_ga194f122b9e4e9f2aa9b5c2f07e9d7f3e}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, void $\ast$data)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{void $\ast$}]{data}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga194f122b9e4e9f2aa9b5c2f07e9d7f3e}


Associate data with a connection object. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to associate data. \\
\hline
{\em data} & Data to be set.\\
\hline
\end{DoxyParams}
Associate data with a connection object, which can be retrieved later with \hyperlink{group__Ecore__Con__Url__Group_gacad8548217172607bad2d2741935ffaa}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get()}).

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_gacad8548217172607bad2d2741935ffaa}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_gacad8548217172607bad2d2741935ffaa}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get}}
\index{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void $\ast$ ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gacad8548217172607bad2d2741935ffaa}


Retrieve data associated with a Ecore\+\_\+\+Con\+\_\+\+Url connection object. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to retrieve data from.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Data associated with the given object.
\end{DoxyReturn}
Retrieve data associated with a Ecore\+\_\+\+Con\+\_\+\+Url connection object (previously set with \hyperlink{group__Ecore__Con__Url__Group_ga194f122b9e4e9f2aa9b5c2f07e9d7f3e}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set()}).

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga194f122b9e4e9f2aa9b5c2f07e9d7f3e}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().



Referenced by ecore\+\_\+file\+\_\+download\+\_\+abort().

\hypertarget{group__Ecore__Con__Url__Group_ga1f9939c84aa5128d5197f1939d8cffeb}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add@{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add}}
\index{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add@{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$key, const char $\ast$value)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const char $\ast$}]{key, }
\item[{const char $\ast$}]{value}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga1f9939c84aa5128d5197f1939d8cffeb}


Add an additional header to the request connection object. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object \\
\hline
{\em key} & Header key \\
\hline
{\em value} & Header value\\
\hline
\end{DoxyParams}
Add an additional header (User-\/\+Agent, Content-\/\+Type, etc.) to the request connection object. This addition will be valid for only one \hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\+\_\+con\+\_\+url\+\_\+get()} or \hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\+\_\+con\+\_\+url\+\_\+post()} call.

Some functions like \hyperlink{group__Ecore__Con__Url__Group_gac93f0e4c37e17b87e95212887a097f26}{ecore\+\_\+con\+\_\+url\+\_\+time()} also add headers to the request.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\+\_\+con\+\_\+url\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\+\_\+con\+\_\+url\+\_\+post()} 

\hyperlink{group__Ecore__Con__Url__Group_ga561de401df50cb1058b6ddf8d1590f23}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}, and \hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References eina\+\_\+list\+\_\+append(), eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga561de401df50cb1058b6ddf8d1590f23}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear@{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear}}
\index{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear@{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga561de401df50cb1058b6ddf8d1590f23}


Clean additional headers. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to clean additional headers.\\
\hline
\end{DoxyParams}
Clean additional headers associated with a connection object (previously added with \hyperlink{group__Ecore__Con__Url__Group_ga1f9939c84aa5128d5197f1939d8cffeb}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()}).

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga1f9939c84aa5128d5197f1939d8cffeb}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()} 

\hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\+\_\+con\+\_\+url\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\+\_\+con\+\_\+url\+\_\+post()} 
\end{DoxySeeAlso}


References E\+I\+N\+A\+\_\+\+L\+I\+S\+T\+\_\+\+F\+R\+E\+E, eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_gad2b33c58653c013adbd0953555081fc6}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get}}
\index{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} const {\bf Eina\+\_\+\+List} $\ast$ ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gad2b33c58653c013adbd0953555081fc6}


Retrieve headers from last request sent. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to retrieve response headers from.\\
\hline
\end{DoxyParams}
Retrieve a list containing the response headers. This function should be used after an E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E event (headers should normally be ready at that time).

\begin{DoxyReturn}{Returns}
List of response headers. This list must not be modified by the user. 
\end{DoxyReturn}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}, and \hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga7b58b82b9b49060642ad3fe64348dc8d}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, int fd)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+fd\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{int}]{fd}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga7b58b82b9b49060642ad3fe64348dc8d}


Set up a file for receiving response data. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to set file \\
\hline
{\em fd} & File descriptor associated with the file. A negative value will unset any previously set fd.\\
\hline
\end{DoxyParams}
Set up a file to have response data written into. Note that E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+D\+A\+T\+A events will not be emitted if a file has been set to receive the response data.

This call can be used to easily setup a file where the downloaded data will be saved. \begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga9587eb74811d11b69b281a715b6fd1a1}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get}}
\index{ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ecore\+\_\+con\+\_\+url\+\_\+received\+\_\+bytes\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga9587eb74811d11b69b281a715b6fd1a1}


Retrieve the number of bytes received. 

Retrieve the number of bytes received on the last request of the given connection object.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object which the request was sent on.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Number of bytes received on request.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\+\_\+con\+\_\+url\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\+\_\+con\+\_\+url\+\_\+post()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga9834a4bf039957602a8966ae4d628ffb}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$username, const char $\ast$password, Eina\+\_\+\+Bool safe)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+httpauth\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const char $\ast$}]{username, }
\item[{const char $\ast$}]{password, }
\item[{{\bf Eina\+\_\+\+Bool}}]{safe}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga9834a4bf039957602a8966ae4d628ffb}


Set url\+\_\+con to use http auth, with given username and password, \char`\"{}safely\char`\"{} or not. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to perform a request on, previously created with \hyperlink{group__Ecore__Con__Url__Group_gae40b7c1a94413166c61524b707118f19}{ecore\+\_\+con\+\_\+url\+\_\+new()} or \hyperlink{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}. \\
\hline
{\em username} & Username to use in authentication \\
\hline
{\em password} & Password to use in authentication \\
\hline
{\em safe} & Whether to use \char`\"{}safer\char`\"{} methods (eg, N\+O\+T http basic auth)\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on error.
\end{DoxyReturn}
\begin{DoxyAttention}{Attention}
Require libcurl $>$= 7.\+19.\+1 to work, otherwise will always return {\ttfamily 0}. 
\end{DoxyAttention}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, eo\+\_\+data\+\_\+scope\+\_\+get(), eo\+\_\+isa(), and E\+R\+R.

\hypertarget{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+get}}
\index{ecore\+\_\+con\+\_\+url\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+get}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+get(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}


Send a get request. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to perform a request on, previously created\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on error.
\end{DoxyReturn}
The request is performed immediately, but you need to setup event handlers for \hyperlink{group__Ecore__Con__Events__Group_ga6ebe51236dac1bc1255b5b390cc9e6e3}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+D\+A\+T\+A}, \hyperlink{group__Ecore__Con__Events__Group_gae90b9b857e1e0adc0c7f24e7ccecb44b}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E} or \hyperlink{group__Ecore__Con__Events__Group_ga2a169e3fec20576f464b844df18143f8}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S} to get more information about its result.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()} 

\hyperlink{group__Ecore__Con__Url__Group_ga561de401df50cb1058b6ddf8d1590f23}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear()} 

\hyperlink{group__Ecore__Con__Url__Group_ga1f9939c84aa5128d5197f1939d8cffeb}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()} 

\hyperlink{group__Ecore__Con__Url__Group_ga194f122b9e4e9f2aa9b5c2f07e9d7f3e}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set()} 

\hyperlink{group__Ecore__Con__Url__Group_gacad8548217172607bad2d2741935ffaa}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gad2b33c58653c013adbd0953555081fc6}{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gac93f0e4c37e17b87e95212887a097f26}{ecore\+\_\+con\+\_\+url\+\_\+time()} 

\hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\+\_\+con\+\_\+url\+\_\+post()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}, \hyperlink{ecore_con_url_download_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+download\+\_\+example.\+c}, and \hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}
\hypertarget{group__Ecore__Con__Url__Group_gafcc52a1a246ce14a5c6f114f56d0f946}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+head@{ecore\+\_\+con\+\_\+url\+\_\+head}}
\index{ecore\+\_\+con\+\_\+url\+\_\+head@{ecore\+\_\+con\+\_\+url\+\_\+head}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+head(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+head (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gafcc52a1a246ce14a5c6f114f56d0f946}


Send a H\+E\+A\+D request. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to perform a request on, previously created\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on error.
\end{DoxyReturn}
The request is performed immediately, but you need to setup event handlers for \hyperlink{group__Ecore__Con__Events__Group_gae90b9b857e1e0adc0c7f24e7ccecb44b}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E} or \hyperlink{group__Ecore__Con__Events__Group_ga2a169e3fec20576f464b844df18143f8}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S} to get more information about its result.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()} 

\hyperlink{group__Ecore__Con__Url__Group_ga561de401df50cb1058b6ddf8d1590f23}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear()} 

\hyperlink{group__Ecore__Con__Url__Group_ga1f9939c84aa5128d5197f1939d8cffeb}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()} 

\hyperlink{group__Ecore__Con__Url__Group_gad2b33c58653c013adbd0953555081fc6}{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gac93f0e4c37e17b87e95212887a097f26}{ecore\+\_\+con\+\_\+url\+\_\+time()} 

\hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\+\_\+con\+\_\+url\+\_\+post()} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+14 
\end{DoxySince}
\hypertarget{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+post@{ecore\+\_\+con\+\_\+url\+\_\+post}}
\index{ecore\+\_\+con\+\_\+url\+\_\+post@{ecore\+\_\+con\+\_\+url\+\_\+post}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+post(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const void $\ast$data, long length, const char $\ast$content\+\_\+type)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+post (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const void $\ast$}]{data, }
\item[{long}]{length, }
\item[{const char $\ast$}]{content\+\_\+type}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}


Send a post request. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to perform a request on, previously created with \hyperlink{group__Ecore__Con__Url__Group_gae40b7c1a94413166c61524b707118f19}{ecore\+\_\+con\+\_\+url\+\_\+new()} or \hyperlink{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()}. \\
\hline
{\em data} & Payload (data sent on the request). Can be {\ttfamily N\+U\+L\+L}. \\
\hline
{\em length} & Payload length. If {\ttfamily -\/1}, rely on automatic length calculation via {\ttfamily strlen()} on {\ttfamily data}. \\
\hline
{\em content\+\_\+type} & Content type of the payload (e.\+g. text/xml). Can be {\ttfamily N\+U\+L\+L}.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on error.
\end{DoxyReturn}
The request starts immediately, but you need to setup event handlers for \hyperlink{group__Ecore__Con__Events__Group_ga6ebe51236dac1bc1255b5b390cc9e6e3}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+D\+A\+T\+A}, \hyperlink{group__Ecore__Con__Events__Group_gae90b9b857e1e0adc0c7f24e7ccecb44b}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+C\+O\+M\+P\+L\+E\+T\+E} or \hyperlink{group__Ecore__Con__Events__Group_ga2a169e3fec20576f464b844df18143f8}{E\+C\+O\+R\+E\+\_\+\+C\+O\+N\+\_\+\+E\+V\+E\+N\+T\+\_\+\+U\+R\+L\+\_\+\+P\+R\+O\+G\+R\+E\+S\+S} to get more information about its result.

This call won\textquotesingle{}t block your main loop.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga2baf5b650b0926f6abd9bd50871ec8eb}{ecore\+\_\+con\+\_\+url\+\_\+custom\+\_\+new()} 

\hyperlink{group__Ecore__Con__Url__Group_ga561de401df50cb1058b6ddf8d1590f23}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+headers\+\_\+clear()} 

\hyperlink{group__Ecore__Con__Url__Group_ga1f9939c84aa5128d5197f1939d8cffeb}{ecore\+\_\+con\+\_\+url\+\_\+additional\+\_\+header\+\_\+add()} 

\hyperlink{group__Ecore__Con__Url__Group_ga194f122b9e4e9f2aa9b5c2f07e9d7f3e}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+set()} 

\hyperlink{group__Ecore__Con__Url__Group_gacad8548217172607bad2d2741935ffaa}{ecore\+\_\+con\+\_\+url\+\_\+data\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gad2b33c58653c013adbd0953555081fc6}{ecore\+\_\+con\+\_\+url\+\_\+response\+\_\+headers\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gac93f0e4c37e17b87e95212887a097f26}{ecore\+\_\+con\+\_\+url\+\_\+time()} 

\hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\+\_\+con\+\_\+url\+\_\+get()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}
\hypertarget{group__Ecore__Con__Url__Group_gac93f0e4c37e17b87e95212887a097f26}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+time@{ecore\+\_\+con\+\_\+url\+\_\+time}}
\index{ecore\+\_\+con\+\_\+url\+\_\+time@{ecore\+\_\+con\+\_\+url\+\_\+time}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+time(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time time\+\_\+condition, double timestamp)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+time (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Time}]{time\+\_\+condition, }
\item[{double}]{timestamp}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gac93f0e4c37e17b87e95212887a097f26}


Set whether H\+T\+T\+P requests should be conditional, dependent on modification time. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url to act upon. \\
\hline
{\em time\+\_\+condition} & Condition to use for H\+T\+T\+P requests. \\
\hline
{\em timestamp} & Time since 1 Jan 1970 to use in the condition.\\
\hline
\end{DoxyParams}
This function may set the header \char`\"{}\+If-\/\+Modified-\/\+Since\char`\"{} or \char`\"{}\+If-\/\+Unmodified-\/\+Since\char`\"{}, depending on the value of {\ttfamily time\+\_\+condition}, with the value {\ttfamily timestamp}.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga46f75358256eec26bd99eef96b25ffa8}{ecore\+\_\+con\+\_\+url\+\_\+get()} 

\hyperlink{group__Ecore__Con__Url__Group_gaa9da5f3b9c091cf1a755136c5797d39c}{ecore\+\_\+con\+\_\+url\+\_\+post()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_gab5e2fba44b6bae1248ad3969eb35c9e6}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload@{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload}}
\index{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload@{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$filename, const char $\ast$user, const char $\ast$pass, const char $\ast$upload\+\_\+dir)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+upload (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const char $\ast$}]{filename, }
\item[{const char $\ast$}]{user, }
\item[{const char $\ast$}]{pass, }
\item[{const char $\ast$}]{upload\+\_\+dir}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gab5e2fba44b6bae1248ad3969eb35c9e6}


Upload a file to an ftp site. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & The Ecore\+\_\+\+Con\+\_\+\+Url object to send with \\
\hline
{\em filename} & The path to the file to send \\
\hline
{\em user} & The username to log in with \\
\hline
{\em pass} & The password to log in with \\
\hline
{\em upload\+\_\+dir} & The directory to which the file should be uploaded \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
Upload {\ttfamily filename} to an ftp server set in {\ttfamily url\+\_\+con} using {\ttfamily user} and {\ttfamily pass} to directory {\ttfamily upload\+\_\+dir} 

References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, eo\+\_\+data\+\_\+scope\+\_\+get(), eo\+\_\+isa(), and E\+R\+R.

\hypertarget{group__Ecore__Con__Url__Group_ga45a962a3b08b35fb5c1468ebe643ea2b}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, Eina\+\_\+\+Bool verbose)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+verbose\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{{\bf Eina\+\_\+\+Bool}}]{verbose}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga45a962a3b08b35fb5c1468ebe643ea2b}


Toggle libcurl\textquotesingle{}s verbose output. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em verbose} & Whether or not to enable libcurl\textquotesingle{}s verbose output.\\
\hline
\end{DoxyParams}
If {\ttfamily verbose} is {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, libcurl will output a lot of verbose information about its operations, which is useful for debugging. The verbose information will be sent to stderr. \begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_headers_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+headers\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga77adad47d775cf572b9ba14db5bde941}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, Eina\+\_\+\+Bool use\+\_\+epsv)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+ftp\+\_\+use\+\_\+epsv\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{{\bf Eina\+\_\+\+Bool}}]{use\+\_\+epsv}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga77adad47d775cf572b9ba14db5bde941}


Enable or disable E\+P\+S\+V extension. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & The Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em use\+\_\+epsv} & Boolean to enable/disable the E\+P\+S\+V extension. \\
\hline
\end{DoxyParams}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_gae5c1b9a66fefc8787639f7c8a93385f7}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init}}
\index{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gae5c1b9a66fefc8787639f7c8a93385f7}


Enable the cookie engine for subsequent H\+T\+T\+P requests. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon.\\
\hline
\end{DoxyParams}
After this function is called, cookies set by the server in H\+T\+T\+P responses will be parsed and stored, as well as sent back to the server in new H\+T\+T\+P requests.

\begin{DoxyNote}{Note}
Even though this function is called {\ttfamily \hyperlink{group__Ecore__Con__Url__Group_gae5c1b9a66fefc8787639f7c8a93385f7}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+init()}}, there is no symmetrical shutdown operation. 
\end{DoxyNote}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga0261c1100b21b04b4bfad979fa9f9a39}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, Eina\+\_\+\+Bool ignore)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{{\bf Eina\+\_\+\+Bool}}]{ignore}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga0261c1100b21b04b4bfad979fa9f9a39}


Control whether session cookies from previous sessions shall be loaded. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em ignore} & If {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, ignore session cookies when loading cookies from files. If {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E}, all cookies will be loaded.\\
\hline
\end{DoxyParams}
Session cookies are cookies with no expire date set, which usually means they are removed after the current session is closed.

By default, when Ecore\+\_\+\+Con\+\_\+\+Url loads cookies from a file, all cookies are loaded, including session cookies, which, most of the time, were supposed to be loaded and valid only for that session.

If {\ttfamily ignore} is set to {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, when Ecore\+\_\+\+Con\+\_\+\+Url loads cookies from the files passed to {\ttfamily \hyperlink{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()}}, session cookies will not be loaded.

\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga551d90e851f84148c3c5d130513538d9}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear}}
\index{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga551d90e851f84148c3c5d130513538d9}


Clear currently loaded cookies. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon.\\
\hline
\end{DoxyParams}
The cleared cookies are removed and will not be sent in subsequent H\+T\+T\+P requests, nor will they be written to the cookiejar file set via {\ttfamily \hyperlink{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}}.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet. 

The cookie files set by \hyperlink{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()} aren\textquotesingle{}t loaded immediately, just when the request is started. Thus, if you ask to clear the cookies, but has a file already set by that function, the cookies will then be loaded and you will have old cookies set. In order to don\textquotesingle{}t have any old cookie set, you need to don\textquotesingle{}t call \hyperlink{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()} ever on the {\ttfamily url\+\_\+con} handler, and call this function to clear any cookie set by a previous request on this handler.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga683faee0b33eda35c0d5e818829161c0}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear()} 

\hyperlink{group__Ecore__Con__Url__Group_ga0261c1100b21b04b4bfad979fa9f9a39}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga683faee0b33eda35c0d5e818829161c0}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear}}
\index{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+session\+\_\+clear (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga683faee0b33eda35c0d5e818829161c0}


Clear currently loaded session cookies. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon.\\
\hline
\end{DoxyParams}
Session cookies are cookies with no expire date set, which usually means they are removed after the current session is closed.

The cleared cookies are removed and will not be sent in subsequent H\+T\+T\+P requests, nor will they be written to the cookiejar file set via {\ttfamily \hyperlink{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}}.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet. 

The cookie files set by \hyperlink{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()} aren\textquotesingle{}t loaded immediately, just when the request is started. Thus, if you ask to clear the session cookies, but has a file already set by that function, the session cookies will then be loaded and you will have old cookies set. In order to don\textquotesingle{}t have any old session cookie set, you need to don\textquotesingle{}t call \hyperlink{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()} ever on the {\ttfamily url\+\_\+con} handler, and call this function to clear any session cookie set by a previous request on this handler. An easier way to don\textquotesingle{}t use old session cookies is by using the function \hyperlink{group__Ecore__Con__Url__Group_ga0261c1100b21b04b4bfad979fa9f9a39}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set()}.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga551d90e851f84148c3c5d130513538d9}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+clear()} 

\hyperlink{group__Ecore__Con__Url__Group_ga0261c1100b21b04b4bfad979fa9f9a39}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add}}
\index{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$const file\+\_\+name)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const char $\ast$const}]{file\+\_\+name}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}


Add a file to the list of files from which to load cookies. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em file\+\_\+name} & Name of the file that will be added to the list.\\
\hline
\end{DoxyParams}
Files must contain cookies defined according to two possible formats\+:

\begin{DoxyItemize}
\item H\+T\+T\+P-\/style header (\char`\"{}\+Set-\/\+Cookie\+: ...\char`\"{}). \item \href{http://www.cookiecentral.com/faq/#3.5}{\tt Netscape/\+Mozilla cookie data format.}\end{DoxyItemize}
Cookies will only be {\bfseries read} from this file. If you want to save cookies to a file, use \hyperlink{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}. Also notice that this function supports the both types of cookie file cited above, while \hyperlink{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()} will save only in the Netscape/\+Mozilla\textquotesingle{}s format.

Please notice that the file will not be read immediately, but rather added to a list of files that will be loaded and parsed at a later time.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_ga0261c1100b21b04b4bfad979fa9f9a39}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+ignore\+\_\+old\+\_\+session\+\_\+set()} 

\hyperlink{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$const cookiejar\+\_\+file)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const char $\ast$const}]{cookiejar\+\_\+file}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}


Set the name of the file to which all current cookies will be written when either cookies are flushed or Ecore\+\_\+\+Con is shut down. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em cookiejar\+\_\+file} & File to which the cookies will be written.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} is the file name has been set successfully, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} otherwise.
\end{DoxyReturn}
Cookies are written following Netscape/\+Mozilla\textquotesingle{}s data format, also known as cookie-\/jar.

Cookies will only be {\bfseries saved} to this file. If you need to read cookies from a file, use \hyperlink{group__Ecore__Con__Url__Group_ga77166d4a6fc33910e695535c8e856719}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+file\+\_\+add()} instead.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_gaa963de30a668dea0055ae94d940f00fa}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}.\end{Desc}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, eo\+\_\+data\+\_\+scope\+\_\+get(), eo\+\_\+isa(), and E\+R\+R.

\hypertarget{group__Ecore__Con__Url__Group_gaa963de30a668dea0055ae94d940f00fa}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write}}
\index{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write@{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+write (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gaa963de30a668dea0055ae94d940f00fa}


Write all current cookies to the cookie jar immediately. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon.\\
\hline
\end{DoxyParams}
A cookie-\/jar file must have been previously set by {\ttfamily ecore\+\_\+con\+\_\+url\+\_\+jar\+\_\+file\+\_\+set}, otherwise nothing will be done.

\begin{DoxyNote}{Note}
This function will initialize the cookie engine if it has not been initialized yet.
\end{DoxyNote}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()} 
\end{DoxySeeAlso}
\begin{Desc}
\item[Examples\+: ]\par
\hyperlink{ecore_con_url_cookies_example_8c-example}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+example.\+c}.\end{Desc}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_ga16db8cf2a6227b7766e0ebf5e272b8e5}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, Eina\+\_\+\+Bool verify)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+verify\+\_\+peer\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+obj, }
\item[{{\bf Eina\+\_\+\+Bool}}]{verify}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_ga16db8cf2a6227b7766e0ebf5e272b8e5}


Toggle libcurl\textquotesingle{}s verify peer\textquotesingle{}s certificate option. 

If {\ttfamily verify} is {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, libcurl will verify the authenticity of the peer\textquotesingle{}s certificate, otherwise it will not. Default behavior of libcurl is to check peer\textquotesingle{}s certificate.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Ecore\+\_\+\+Con\+\_\+\+Url instance which will be acted upon. \\
\hline
{\em verify} & Whether or not libcurl will check peer\textquotesingle{}s certificate. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0 
\end{DoxySince}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_gacaffb9669561ace288d7de0aefbc19f4}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, const char $\ast$ca\+\_\+path)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ecore\+\_\+con\+\_\+url\+\_\+ssl\+\_\+ca\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+obj, }
\item[{const char $\ast$}]{ca\+\_\+path}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gacaffb9669561ace288d7de0aefbc19f4}


Set a custom C\+A to trust for S\+S\+L/\+T\+L\+S connections. 

Specify the path of a file (in P\+E\+M format) containing one or more C\+A certificate(s) to use for the validation of the server certificate.

This function can also disable C\+A validation if {\ttfamily ca\+\_\+path} is {\ttfamily N\+U\+L\+L}. However, the server certificate still needs to be valid for the connection to succeed (i.\+e., the certificate must concern the server the connection is made to).


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the custom C\+A. \\
\hline
{\em ca\+\_\+path} & Path to a C\+A certificate(s) file or {\ttfamily N\+U\+L\+L} to disable C\+A validation.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily 0} on success. When c\+U\+R\+L is used, non-\/zero return values are equal to c\+U\+R\+L error codes. 
\end{DoxyReturn}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_gaaf14a203022524309acfa0a90923e80f}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$proxy)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const char $\ast$}]{proxy}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gaaf14a203022524309acfa0a90923e80f}


Set H\+T\+T\+P proxy to use. 

The parameter should be a char $\ast$ to a zero terminated string holding the host name or dotted I\+P address. To specify port number in this string, append \+:\mbox{[}port\mbox{]} to the end of the host name. The proxy string may be prefixed with \mbox{[}protocol\mbox{]}\+:// since any such prefix will be ignored. The proxy\textquotesingle{}s port number may optionally be specified with the separate option. If not specified, libcurl will default to using port 1080 for proxies.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the proxy. \\
\hline
{\em proxy} & Porxy string or {\ttfamily N\+U\+L\+L} to disable\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on error. 
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, eo\+\_\+data\+\_\+scope\+\_\+get(), eo\+\_\+isa(), and E\+R\+R.

\hypertarget{group__Ecore__Con__Url__Group_gaa1e9370197fafd695321e360e753bd28}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$username)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+username\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const char $\ast$}]{username}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gaa1e9370197fafd695321e360e753bd28}


Set zero terminated username to use for proxy. 

If socks protocol is used for proxy, protocol should be socks5 and above.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the proxy. \\
\hline
{\em username} & Username string.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on error.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_gaaf14a203022524309acfa0a90923e80f}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, eo\+\_\+data\+\_\+scope\+\_\+get(), eo\+\_\+isa(), and E\+R\+R.

\hypertarget{group__Ecore__Con__Url__Group_gad98f8f61c9aecb5ec664df0d2e59e7f4}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, const char $\ast$password)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} {\bf Eina\+\_\+\+Bool} ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+password\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{const char $\ast$}]{password}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gad98f8f61c9aecb5ec664df0d2e59e7f4}


Set zero terminated password to use for proxy. 

If socks protocol is used for proxy, protocol should be socks5 and above.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the proxy. \\
\hline
{\em password} & Password string.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
{\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E} on success, {\ttfamily E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E} on error.
\end{DoxyReturn}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_gaaf14a203022524309acfa0a90923e80f}{ecore\+\_\+con\+\_\+url\+\_\+proxy\+\_\+set()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References E\+I\+N\+A\+\_\+\+F\+A\+L\+S\+E, E\+I\+N\+A\+\_\+\+T\+R\+U\+E, eo\+\_\+data\+\_\+scope\+\_\+get(), eo\+\_\+isa(), and E\+R\+R.

\hypertarget{group__Ecore__Con__Url__Group_gaecf4c900b23c7d25a1bd6d777ada44aa}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set}}
\index{ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set@{ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con, double timeout)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} void ecore\+\_\+con\+\_\+url\+\_\+timeout\+\_\+set (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con, }
\item[{double}]{timeout}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gaecf4c900b23c7d25a1bd6d777ada44aa}


Set timeout in seconds. 

The maximum time in seconds that you allow the ecore con url transfer operation to take. Normally, name lookups can take a considerable time and limiting operations to less than a few minutes risk aborting perfectly normal operations.


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object that will use the timeout. \\
\hline
{\em timeout} & time in seconds.\\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See also}
\hyperlink{group__Ecore__Con__Url__Group_gaf82657c0ae5ff8028ef10bda18178611}{ecore\+\_\+con\+\_\+url\+\_\+cookies\+\_\+jar\+\_\+file\+\_\+set()}
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References ecore\+\_\+timer\+\_\+add(), ecore\+\_\+timer\+\_\+del(), eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

\hypertarget{group__Ecore__Con__Url__Group_gaf2e8dc10b2fcad5bbf012c0936424251}{}\index{Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}!ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get}}
\index{ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get@{ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get}!Ecore U\+R\+L Connection Functions@{Ecore U\+R\+L Connection Functions}}
\subsubsection[{ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get(\+Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+con)}]{\setlength{\rightskip}{0pt plus 5cm}{\bf E\+A\+P\+I} int ecore\+\_\+con\+\_\+url\+\_\+status\+\_\+code\+\_\+get (
\begin{DoxyParamCaption}
\item[{Ecore\+\_\+\+Con\+\_\+\+Url $\ast$}]{url\+\_\+con}
\end{DoxyParamCaption}
)}\label{group__Ecore__Con__Url__Group_gaf2e8dc10b2fcad5bbf012c0936424251}


Get the returned H\+T\+T\+P S\+T\+A\+T\+U\+S code. 

This is used to, at any time, try to return the status code for a transmission. 
\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A valid H\+T\+T\+P S\+T\+A\+T\+U\+S code, or 0 on failure
\end{DoxyReturn}
\begin{DoxySince}{Since}
1.\+2 
\end{DoxySince}


References eo\+\_\+data\+\_\+scope\+\_\+get(), and eo\+\_\+isa().

