Datasnap.DSHTTPServiceProxyDispatcher.TDSHTTPServiceProxyDispatcher

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.DSHTTP.TDSHTTPServiceFileDispatcherDatasnap.DSHTTP.TDSCustomHTTPServiceFileDispatcherDatasnap.DSHTTP.TDSHTTPServiceComponentTDSHTTPServiceProxyDispatcher

Delphi

TDSHTTPServiceProxyDispatcher = class(TDSHTTPServiceFileDispatcher)

C++

class PASCALIMPLEMENTATION TDSHTTPServiceProxyDispatcher : public Datasnap::Dshttp::TDSHTTPServiceFileDispatcher

Properties

Type Visibility Source Unit Parent
class public
Datasnap.DSHTTPServiceProxyDispatcher.pas
Datasnap.DSHTTPServiceProxyDispatcher.hpp
Datasnap.DSHTTPServiceProxyDispatcher Datasnap.DSHTTPServiceProxyDispatcher

Description

Proxy dispatcher for DataSnap servers that are not based on WebBroker.

TDSHTTPServiceProxyDispatcher represents the proxy dispatcher for DataSnap servers that are not based on WebBroker.

TDSHTTPServiceProxyDispatcher is used with DataSnap Mobile Connectors to handle the HTTP requests that require a specific proxy. Specifically, TDSHTTPServiceProxyDispatcher handles:

  • A default virtual path named 'proxy.requests'.
  • A default virtual path named 'proxy'.

When the server has to generate a proxy for a specific language and platform, TDSHTTPServiceProxyDispatcher generates the proxy inside the proper folder. Then the server compresses the folder and creates a "language".zip file to be downloaded by the client (such as "java_android.zip" when generating an Android Java proxy).

See Also