diff --git a/common/http_message.h b/common/http_message.h new file mode 100644 index 0000000..44967ba --- /dev/null +++ b/common/http_message.h @@ -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