Datasnap.Win.SConnect.TWebConnection.CreateTransport

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: protected
Source:
Datasnap.Win.SConnect.pas
Datasnap.Win.SConnect.hpp
Unit: Datasnap.Win.SConnect
Parent: TWebConnection

Delphi

function CreateTransport: ITransport; override;

C++

virtual _di_ITransport __fastcall CreateTransport();

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.

See Also