Indy 9
TOnCreatePostStream
Unit: IdCustomHTTPServer
Allows creation of the stream used in client POST or GET requests.
TOnCreatePostStream = procedure (ASender: TIdPeerThread; var VPostStream: TStream) of object;
Unit
IdCustomHTTPServer
Parameters
ASender
Client thread for the event.
VPostStream
Stream class instance to use for the request.
Description
TOnCreatePostStream is an event type signalled when an executing threaded client request needs to create a stream for a pending HTTP POST or GET request. Applications must assign a procedure to the event handler to allow responding to the event notification. The event handler may assign a stream clzass instance to VPostStream, or set VPostStream to Nil to allow the default steam handler for the client thread.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.