Rudiments

url.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_URL_H
5 #define RUDIMENTS_URL_H
6
7 #include <rudiments/private/urlincludes.h>
8
35 class RUDIMENTS_DLLSPEC url : public file {
36 public:
37
39 url();
40
42 virtual ~url();
43
44 void useHttpGet();
45 void useHttpPost();
46
47 void setHttpPostContentType(const char *contenttype);
48 void setHttpPostData(const char *data, uint64_t size);
49 void setHttpUserAgent(const char *useragent);
50 void setHttpHeaders(const char *headers);
51
52 const char *getError();
53
54 #include <rudiments/private/url.h>
55 };
56
57 #endif
file
Definition: file.h:19
url
Definition: url.h:35
url::~url
virtual ~url()
url::url
url()