Class Ripcord_Transport_Stream

Description

Implements interfaces:

This class implements the Ripcord_Transport interface using PHP streams.

Located in /ripcord_client.php (line 440)


	
			
Variable Summary
Method Summary
Ripcord_Transport_Stream __construct ([array $contextOptions = null])
string post (string $url, string $request)
Variables
mixed $responseHeaders = null (line 450)

Contains the headers sent by the server.

  • access: public
Methods
Constructor __construct (line 456)

This is the constructor for the Ripcord_Transport_Stream class.

  • access: public
Ripcord_Transport_Stream __construct ([array $contextOptions = null])
  • array $contextOptions: Optional. An array with stream context options.
post (line 471)

This method posts the request to the given url.

  • return: The server response
  • throws: Ripcord_TransportException (ripcord::cannotAccessURL) when the given URL cannot be accessed for any reason.
  • access: public
string post (string $url, string $request)
  • string $url: The url to post to.
  • string $request: The request to post.

Implementation of:
Ripcord_Transport::post()
This method must post the request to the given url and return the results.

Documentation generated on Tue, 16 Nov 2010 16:20:18 +0100 by phpDocumentor 1.4.3