Runs the mock server, binding to a loopback TCP/IP interface and preparing a HTTPS server which is ready to accept requests.
The TCP/IP address and port number are chosen randomly out of the loopback addresses, and are exposed as address and port once this function has returned. A Resolver (exposed as resolver) is set as the default Resolver while the server is running.
The server is started in a worker thread, so this function returns immediately and the server continues to run in the background. Use stop to shut it down.
This function always succeeds.
| this |
a Server |