Merge branch 'phoenix' of https://github.com/InvictusInnovations/fc into phoenix
This commit is contained in:
commit
8347a7b7fa
2 changed files with 7 additions and 1 deletions
|
|
@ -46,6 +46,7 @@ namespace fc { namespace http {
|
|||
};
|
||||
|
||||
void listen( const fc::ip::endpoint& p );
|
||||
fc::ip::endpoint get_local_endpoint() const;
|
||||
|
||||
/**
|
||||
* Set the callback to be called for every http request made.
|
||||
|
|
|
|||
|
|
@ -96,10 +96,15 @@ namespace fc { namespace http {
|
|||
|
||||
server::~server(){}
|
||||
|
||||
void server::listen( const fc::ip::endpoint& p ) {
|
||||
void server::listen( const fc::ip::endpoint& p )
|
||||
{
|
||||
my.reset( new impl(p) );
|
||||
}
|
||||
|
||||
fc::ip::endpoint server::get_local_endpoint() const
|
||||
{
|
||||
return my->tcp_serv.get_local_endpoint();
|
||||
}
|
||||
|
||||
|
||||
server::response::response(){}
|
||||
|
|
|
|||
Loading…
Reference in a new issue