twisted.web.test.test_proxy.DummyChannel(object) class documentationtwisted.web.test.test_proxy
(View In Hierarchy)
A dummy HTTP channel, that does nothing but holds a transport and saves connection lost.
| Instance Variable | transport | the transport used by the client. |
| Instance Variable | lostReason | the reason saved at connection lost. |
| Method | __init__ | Hold a reference to the transport. |
| Method | connectionLost | Keep track of the connection lost reason. |
| Method | getPeer | Get peer information from the transport. |
| Method | getHost | Get host information from the transport. |