Add http_message
This commit is contained in:
parent
d814b554d0
commit
cb658488c5
10
common/http_message.h
Normal file
10
common/http_message.h
Normal 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
|
Loading…
Reference in a new issue