procedure WriteData(Stream: TStream);

 

Description

Call WriteData to send data from Stream to an HTTP resource. If request data exists (WriteData or WriteBuffer has already been called), this method overrides existing data, unlike the WriteBuffer method.

If an application needs to set the value of the ContentLength property, the value must be set before sending data.

Use this method only in non-chunked mode. If SendChunked is set to True, the method call will raise the HttpException.

 

See also

ContentLength

RequestStream

SendChunked

WriteBuffer

SecureBridge Components, Copyright © 2007-2024 Devart. All Rights Reserved. Provide Feedback Visit Forum Request Support