testHttp1Transport

A generic test to ensure that any Http1Transport implementation behaves properly to start & stop, and process requests when running.

It's assumed that the given transport is configured to run on localhost, port 8080, and return a standard 200 OK empty response to all requests.

version(unittest)
void
testHttp1Transport

Parameters

transport Http1Transport

The transport implementation to test.