| gURLChecker Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
void uc_conn_init (void); GArray * uc_server_get_response (const gchar *proto,gchar *host,const guint port,gchar *buffer,gboolean header_request,gchar **ip);
GArray * uc_server_get_response (const gchar *proto,gchar *host,const guint port,gchar *buffer,gboolean header_request,gchar **ip);
Connect to a host:port, send a HTTP request and return the content of the HTTP response.
|
The protocol. |
|
The host. |
|
The port. |
|
The HTTP request to send. |
|
TRUE if we need only to get the header |
Returns : |
Content of the HTTP response. |