-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ping controller online #23
Conversation
Added jsoncpp lib Remove old line from dockerfile Add restful server example from mongoose repo
Create server wrapper Create response and jsonresponse Create basic controller
Create request and response classes Parse mongoose http_message in request Call controller method from request handler
server.start(); | ||
|
||
while (running) { | ||
sleep(10); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No escala papu
std::string body = getBody(); | ||
std::ostringstream data; | ||
|
||
data << "HTTP/1.0 " << code << "\n"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Estamos en la B
|
||
virtual bool hasHeader(std::string key); | ||
|
||
protected: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class X {
private:
protected:
public:
}
No al reves :D
Create initial server architecture.
Set C standard to C99.
Create controller, response and request classes.
Create pingcontroller.
Close #14