Add http_message

This commit is contained in:
Nick Krichevsky 2018-08-27 10:48:21 -04:00
parent d814b554d0
commit cb658488c5

10
common/http_message.h Normal file
View file

@ -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