Topic Path: Symbol Reference > Types > TOnCreatePostStream Type
ContentsIndexHome
PreviousUpNext
TOnCreatePostStream Type

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

File
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.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.