mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Support configuration of the CefTestServer certificate type (see issue #3348)
This commit is contained in:
@ -71,8 +71,10 @@ class CefTestServer : public CefBaseRefCounted {
|
||||
///
|
||||
// Create and start a new test server that binds to |port|. If |port| is 0 an
|
||||
// available port number will be selected. If |https_server| is true the
|
||||
// server will be HTTPS, otherwise it will be HTTP. Returns the newly created
|
||||
// server object on success, or nullptr if the server cannot be started.
|
||||
// server will be HTTPS, otherwise it will be HTTP. When |https_server| is
|
||||
// true the |https_cert_type| value is used to configure the certificate type.
|
||||
// Returns the newly created server object on success, or nullptr if the
|
||||
// server cannot be started.
|
||||
//
|
||||
// A new thread will be created for each CreateAndStart call (the "dedicated
|
||||
// server thread"). It is therefore recommended to use a different
|
||||
@ -86,6 +88,7 @@ class CefTestServer : public CefBaseRefCounted {
|
||||
static CefRefPtr<CefTestServer> CreateAndStart(
|
||||
uint16 port,
|
||||
bool https_server,
|
||||
cef_test_cert_type_t https_cert_type,
|
||||
CefRefPtr<CefTestServerHandler> handler);
|
||||
|
||||
///
|
||||
|
Reference in New Issue
Block a user