twisted.web._newclient.ChunkedEncoder class documentationtwisted.web._newclient
          View Source
          (View In Hierarchy)
        
      Implements interfaces: twisted.internet.interfaces.IConsumer
Helper object which exposes IConsumer on top of HTTP11ClientProtocol for streaming request bodies to the server.
| Method | __init__ | Undocumented | 
| Instance Variable | transport | Undocumented | 
| Method | registerProducer | Register the given producer with self.transport. | 
  
| Method | write | Write the given request body bytes to the transport using chunked encoding. | 
| Method | unregisterProducer | Indicate that the request body is complete and finish the request. | 
| Method | _allowNoMoreWrites | Indicate that no additional writes are allowed. Attempts to write after calling this method will be met with an exception. | 
Indicate that no additional writes are allowed. Attempts to write after calling this method will be met with an exception.
Register the given producer with self.transport.
Write the given request body bytes to the transport using chunked encoding.
Indicate that the request body is complete and finish the request.