\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*{Macros}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__Ecore__Con__Url__Group_ga218df7e0782356433e03c268670203e3}{\#define {\bfseries M\+O\+D\+E\+\_\+\+A\+U\+T\+O}~0}\label{group__Ecore__Con__Url__Group_ga218df7e0782356433e03c268670203e3}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga1bb2eb45b44cbebb627b5e6aca079fde}{\#define {\bfseries M\+O\+D\+E\+\_\+\+G\+E\+T}~1}\label{group__Ecore__Con__Url__Group_ga1bb2eb45b44cbebb627b5e6aca079fde}

\item 
\hypertarget{group__Ecore__Con__Url__Group_gac3f9a8a6285bf9d3e216c39b0d18386a}{\#define {\bfseries M\+O\+D\+E\+\_\+\+P\+O\+S\+T}~2}\label{group__Ecore__Con__Url__Group_gac3f9a8a6285bf9d3e216c39b0d18386a}

\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__Eina__Types__Group_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__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ecore__Con__Url__Group_gac3fbeaf9cde529362e4567fc37e45c9f}{ecore\+\_\+con\+\_\+url\+\_\+init} (void)
\begin{DoxyCompactList}\small\item\em Initialises the Ecore\+\_\+\+Con\+\_\+\+Url library. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_ga3db3556eec8ef18cb8ddb43816974ac8}{E\+A\+P\+I} int \hyperlink{group__Ecore__Con__Url__Group_ga0da252aa2c919722894dd41cc6549435}{ecore\+\_\+con\+\_\+url\+\_\+shutdown} (void)
\begin{DoxyCompactList}\small\item\em Shuts down the Ecore\+\_\+\+Con\+\_\+\+Url library. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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__Eina__Types__Group_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__Eina__Types__Group_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 Creates and initializes a new Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Creates a custom connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Destroys a Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Associates data with a connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Retrieves data associated with a Ecore\+\_\+\+Con\+\_\+\+Url connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Adds an additional header to the request connection object. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Cleans additional headers. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Retrieves headers from last request sent. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Setup a file for receiving response data. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Retrieves the number of bytes received. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Sets url\+\_\+con to use http auth, with given username and password, \char`\"{}safely\char`\"{} or not. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Sends a get request. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Sends a post request. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Sets whether H\+T\+T\+P requests should be conditional, dependent on modification time. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Uploads a file to an ftp site. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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's verbose output. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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__Eina__Types__Group_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 Enables the cookie engine for subsequent H\+T\+T\+P requests. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Controls whether session cookies from previous sessions shall be loaded. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Clears currently loaded cookies. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Clears currently loaded session cookies. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Adds a file to the list of files from which to load cookies. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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 Sets 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__Eina__Types__Group_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 Writes all current cookies to the cookie jar immediately. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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's verify peer's certificate option. \end{DoxyCompactList}\item 
\hyperlink{group__Eina__Types__Group_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__Eina__Types__Group_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__Eina__Types__Group_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__Eina__Types__Group_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__Eina__Types__Group_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__Eina__Types__Group_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_ga50040d3c8c49ed20e872303fe9f0d7e2}{static E\+O\+L\+I\+A\+N void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+eo\+\_\+base\+\_\+constructor} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con)}\label{group__Ecore__Con__Url__Group_ga50040d3c8c49ed20e872303fe9f0d7e2}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga8ab14f33ee97da8e00093a7ff9a990a0}{static E\+O\+L\+I\+A\+N \hyperlink{group__Eo_ga9f3010a50b61a892d41f4ec2bda73f4c}{Eo} $\ast$ {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+eo\+\_\+base\+\_\+finalize} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con)}\label{group__Ecore__Con__Url__Group_ga8ab14f33ee97da8e00093a7ff9a990a0}

\item 
\hypertarget{group__Ecore__Con__Url__Group_gae1ab5de273bb9e492273fd94d293ce3c}{static E\+O\+L\+I\+A\+N void {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+eo\+\_\+base\+\_\+destructor} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con)}\label{group__Ecore__Con__Url__Group_gae1ab5de273bb9e492273fd94d293ce3c}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga40734862546688c0e96414c013715e9a}{static E\+O\+L\+I\+A\+N const char $\ast$ {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+get} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con)}\label{group__Ecore__Con__Url__Group_ga40734862546688c0e96414c013715e9a}

\item 
\hypertarget{group__Ecore__Con__Url__Group_ga6be2826d443a6c0580581e64b67f6701}{static E\+O\+L\+I\+A\+N \hyperlink{group__Eina__Types__Group_ga3fe0caf72e93b1bab1ca8ee3ccf3f226}{Eina\+\_\+\+Bool} {\bfseries \+\_\+ecore\+\_\+con\+\_\+url\+\_\+url\+\_\+set} (Ecore\+\_\+\+Con\+\_\+\+Url $\ast$url\+\_\+obj, Ecore\+\_\+\+Con\+\_\+\+Url\+\_\+\+Data $\ast$url\+\_\+con, const char $\ast$url)}\label{group__Ecore__Con__Url__Group_ga6be2826d443a6c0580581e64b67f6701}

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

\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'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}]{\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, 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}]{\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}


Initialises 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'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}]{\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}


Shuts 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'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}]{\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}]{\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}]{\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}


Creates and initializes 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}
Creates and initializes 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}


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}]{\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}


Creates 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}
Creates and initializes 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(), 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}]{\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}


Destroys 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}


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}]{\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}


Associates 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}
Associates 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}
\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}]{\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}


Retrieves 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}
Retrieves 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}


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}]{\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}


Adds 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}
Adds 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().

\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}]{\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}


Cleans additional headers. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to clean additional headers.\\
\hline
\end{DoxyParams}
Cleans 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.

\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}]{\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}


Retrieves headers from last request sent. 


\begin{DoxyParams}{Parameters}
{\em url\+\_\+con} & Connection object to retrieve response headers from.\\
\hline
\end{DoxyParams}
Retrieves 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}
\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}]{\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}


Setup 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}
Sets 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}
\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}]{\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}


Retrieves the number of bytes received. 

Retrieves 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}
\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}]{\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}


Sets 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}
Requires 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, 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}]{\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}


Sends 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_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}]{\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}


Sends 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'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}]{\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}


Sets 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}
\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}]{\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}


Uploads 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, 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}]{\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'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'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}
\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}]{\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}
\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}]{\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}


Enables 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}
\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}]{\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}


Controls 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}
\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}]{\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}


Clears 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'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't have any old cookie set, you need to don'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}
\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}]{\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}


Clears 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'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't have any old session cookie set, you need to don'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'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}
\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}]{\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}


Adds 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'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}
\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}]{\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}


Sets 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'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, 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}]{\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}


Writes 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}
\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}]{\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's verify peer's certificate option. 

If {\ttfamily verify} is {\ttfamily E\+I\+N\+A\+\_\+\+T\+R\+U\+E}, libcurl will verify the authenticity of the peer's certificate, otherwise it will not. Default behavior of libcurl is to check peer'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's certificate. \\
\hline
\end{DoxyParams}
\begin{DoxySince}{Since}
1.\+1.\+0 
\end{DoxySince}
\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}]{\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}
\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}]{\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'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, 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}]{\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, 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}]{\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, 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}]{\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\+\_\+del().

\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}]{\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}
