PHP Class Horde_Rpc_Syncml, horde

Copyright 2003-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Chuck Hagenbuch ([email protected])
Author: Anthony Mills ([email protected])
Inheritance: extends Horde_Rpc
显示文件 Open project: horde/horde

Public Methods

Method Description
authorize ( ) SyncML handles authentication internally, so bypass the RPC framework auth check by just returning true here.
getResponse ( string $request ) : string Sends an RPC request to the server and returns the result.
getResponseContentType ( ) : string Returns the Content-Type of the response.

Method Details

authorize() public method

SyncML handles authentication internally, so bypass the RPC framework auth check by just returning true here.
public authorize ( )

getResponse() public method

Sends an RPC request to the server and returns the result.
public getResponse ( string $request ) : string
$request string The raw request string.
return string The XML encoded response from the server.

getResponseContentType() public method

Returns the Content-Type of the response.
public getResponseContentType ( ) : string
return string The MIME Content-Type of the RPC response.