Cheetah
Public Member Functions | List of all members
AkismetRequestSender Interface Reference
Inheritance diagram for AkismetRequestSender:
SocketWriteRead

Public Member Functions

 send ($host, $port, $request, $responseLength=1160)
 

Detailed Description

Definition at line 444 of file Akismet.class.php.

Member Function Documentation

◆ send()

AkismetRequestSender::send (   $host,
  $port,
  $request,
  $responseLength = 1160 
)

Sends the data to the remote host.

Parameters
string$hostThe host to send/receive data.
int$portThe port on the remote host.
string$requestThe data to send.
int$responseLengthThe amount of data to read. Defaults to 1160 bytes.
Exceptions
Anexception is thrown if a connection cannot be made to the remote host.
Returns
The server response

Implemented in SocketWriteRead.


The documentation for this interface was generated from the following file: