Project

General

Profile

Feature #2702

WServer Constructor with Configuration

Added by I. Lazaridis over 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/23/2014
Due date:
% Done:

0%

Estimated time:

Description

Current:

    WServer server(argv[0]);

    server.setServerConfiguration(argc, argv, WTHTTPD_CONFIG_FILE);

This can be simplified to:

    WServer server(argc, argv, WTHTTPD_CONFIG_FILE);

by simply adding the additional constructor.

Compatibility

The additional constructor would not break any existent code.

Also available in: Atom PDF