Datasnap.Win.SConnect.TWebConnection.CreateTransport
Delphi
function CreateTransport: ITransport; override;
C++
virtual _di_ITransport __fastcall CreateTransport(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Datasnap.Win.SConnect.pas Datasnap.Win.SConnect.hpp |
Datasnap.Win.SConnect | TWebConnection |
Description
Provides the backstop for a method that obtains an ITransport interface.
Streamed connection components use an ITransport interface to connect to and communicate with the application server. TWebConnection overrides CreateTransport to obtain an ITransport interface that connects to and communicates with the application server.
CreateTransport raises an exception if the uniform resource locator (URL) specified by the URL property is empty.