Internet Direct (Indy)
Home
PreviousUpNext
TOnCreatePostStream Type

Allows creation of the stream used in client POST or GET requests.

Pascal
TOnCreatePostStream = procedure (AContext: TIdContext; var VPostStream: TIdStream) of object;
Parameters 
Description 
ASender 
Client thread for the event.
 
VPostStream 
Stream class instance to use for the request. 

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 class instance to VPostStream, or set VPostStream to Nil to allow use of the default steam handler for the client session.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.