class _GenericHTTPChannelProtocol(proxyForInterface(
A proxy object that wraps one of the HTTP protocol objects, and switches between them depending on TLS negotiated protocol.
| Method | call |
Sets the value for the callLater callback. This callback is used by the twisted.protocols.policies.TimeoutMixin to handle timeouts. |
| Method | data |
An override of IProtocol.dataReceived that checks what protocol we're using. |
| Method | factory |
Undocumented |
| Method | request |
A callable to use to build IRequest objects. |
| Method | site |
A reference to the creating twisted.web.server.Site object. |
| Method | time |
The idle timeout for the backing channel. |
| Property | call |
A value for the callLater callback. This callback is used by the twisted.protocols.policies.TimeoutMixin to handle timeouts. |
| Property | factory |
No summary |
| Property | request |
A callable to use to build IRequest objects. |
| Property | site |
A reference to the creating twisted.web.server.Site object. |
| Property | time |
The idle timeout for the backing channel. |
| Instance Variable | _call |
A value for the callLater callback. |
| Instance Variable | _channel |
The object capable of behaving like a HTTPChannel that is backing this object. By default this is a HTTPChannel, but if a HTTP protocol upgrade takes place this may be a different channel object. Must implement ... |
| Instance Variable | _factory |
A reference to the creating HTTPFactory object. |
| Instance Variable | _negotiated |
The protocol negotiated with ALPN or NPN, if any. |
| Instance Variable | _request |
A callable to use to build IRequest objects. |
| Instance Variable | _site |
A reference to the creating twisted.web.server.Site object. |
| Instance Variable | _time |
A timeout value to pass to the backing channel. |
Sets the value for the callLater callback. This callback is used by the twisted.protocols.policies.TimeoutMixin to handle timeouts.
| Parameters | |
value:callable | The new callback to use. |
A reference to the creating twisted.web.server.Site object.
Sets the object on the backing channel and also stores the value for propagation to any new channel.
| Parameters | |
value:twisted.web.server.Site | The twisted.web.server.Site object to set. |
The idle timeout for the backing channel.
Sets the idle timeout on both the backing channel and stores it for propagation to any new backing channel.
| Parameters | |
value:int or float | The timeout to set. |
A value for the callLater callback. This callback is used by the twisted.protocols.policies.TimeoutMixin to handle timeouts.
A reference to the creating twisted.web.server.Site object.
Returns the site object from the backing channel.
The object capable of behaving like a HTTPChannel that is backing this object. By default this is a HTTPChannel, but if a HTTP protocol upgrade takes place this may be a different channel object. Must implement IProtocol.
None if no protocol has yet been negotiated. =
(source)
¶
The protocol negotiated with ALPN or NPN, if any.