+ Default constructor.
+ */
+ wxHTTP();
+
+ /**
+ Destructor will close the connection if connected.
+ */
+ virtual ~wxHTTP();
+
+ //@{
+ /**
+ Connect to the HTTP server.
+
+ By default, connection is made to the port 80 of the specified @a host.
+ You may connect to a non-default port by specifying it explicitly using
+ the second overload.
+ */
+ virtual bool Connect(const wxString& host);
+ virtual bool Connect(const wxString& host, unsigned short port);
+ //@}
+
+ /**
+ Returns the data attached with a field whose name is specified by @a header.