Add http_message

attempt-2
Nick Krichevsky 2018-08-27 10:48:21 -04:00
parent d814b554d0
commit cb658488c5
1 changed files with 10 additions and 0 deletions

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