mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Updated examples to use simpler syntax.
This commit is contained in:
parent
c2825e8625
commit
35d390282f
@ -17,7 +17,7 @@
|
||||
using namespace dlib;
|
||||
using namespace std;
|
||||
|
||||
class web_server : public server::http_1a_c
|
||||
class web_server : public server_http
|
||||
{
|
||||
const std::string on_request (
|
||||
const incoming_things& incoming,
|
||||
|
@ -21,9 +21,8 @@ using namespace std;
|
||||
|
||||
|
||||
|
||||
class serv : public server::kernel_1a_c
|
||||
class serv : public server
|
||||
{
|
||||
|
||||
void on_connect (
|
||||
connection& con
|
||||
)
|
||||
|
@ -32,7 +32,7 @@ using namespace std;
|
||||
|
||||
|
||||
|
||||
class serv : public server::kernel_1a_c
|
||||
class serv : public server
|
||||
{
|
||||
|
||||
void on_connect (
|
||||
|
Loading…
Reference in New Issue
Block a user