Add http_message
parent
d814b554d0
commit
cb658488c5
|
@ -0,0 +1,10 @@
|
|||
#ifndef HTTP_MESSAGE_H
|
||||
#define HTTP_MESSAGE_H
|
||||
struct http_message {
|
||||
char *address;
|
||||
// though an int makes sense, all functions use char*s for their ports. This avoids unneeded conversion.
|
||||
char *port;
|
||||
char *path;
|
||||
char *contents;
|
||||
};
|
||||
#endif
|
Loading…
Reference in New Issue