Module gotham::tls::test[][src]

Contains helpers for Gotham applications to use during testing.

See the TestServer type for example usage.

Structs

TestConnect

TestConnect represents the connection between a test client and the TestServer instance that created it. This type should never be used directly.

TestServer

The TestServer type, which is used as a harness when writing test cases for Hyper services (which Gotham’s Router is). An instance of TestServer is run asynchronously within the current thread, and is only accessible by a client returned from the TestServer.

TlsConnectionStream