Commit 6c6aca9f authored by Martchus's avatar Martchus

Implement Endpoint::bind()

parent 8604968a
/* endpoint.cc
Mathieu Stefani, 22 janvier 2016
Implementation of the http endpoint
*/
......@@ -53,6 +53,16 @@ Endpoint::setHandler(const std::shared_ptr<Handler>& handler) {
handler_ = handler;
}
void
Endpoint::bind() {
listener.bind();
}
void
Endpoint::bind(const Address& addr) {
listener.bind(addr);
}
void
Endpoint::serve()
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment