AS2Secure
[ class tree: AS2Secure ] [ index: AS2Secure ] [ all elements ]

Class: AS2Client

Source Location: /AS2Client.php

Class Overview


AS2Secure - PHP Lib for AS2 message encoding / decoding


Author(s):

Version:

  • 0.9.0

Copyright:

  • Copyright (c) 2010, Sebastien MALOT

    Last release at : http://www.as2secure.com

    This file is part of AS2Secure Project.

    AS2Secure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

    AS2Secure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

    You should have received a copy of the GNU General Public License along with AS2Secure.

Variables

Methods



Class Details

[line 32]
AS2Secure - PHP Lib for AS2 message encoding / decoding



Tags:

author:  Sebastien MALOT <contact@as2secure.com>
version:  0.9.0
copyright:  

Copyright (c) 2010, Sebastien MALOT

Last release at : http://www.as2secure.com

This file is part of AS2Secure Project.

AS2Secure is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

AS2Secure is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with AS2Secure.

license:  GNU General Public License


[ Top ]


Class Variables

$response_content =  ''

[line 34]



Tags:

access:  protected

Type:   mixed


[ Top ]

$response_headers = array()

[line 33]



Tags:

access:  protected

Type:   mixed


[ Top ]

$response_indice =  0

[line 35]



Tags:

access:  protected

Type:   mixed


[ Top ]



Class Methods


constructor __construct [line 37]

AS2Client __construct( )



Tags:

access:  public


[ Top ]

method getLastResponse [line 118]

array getLastResponse( )

Return the last request : headers/content



Tags:

access:  public


[ Top ]

method handleResponseHeader [line 132]

int handleResponseHeader( object $curl, string $header)

Allow to retrieve HTTP headers even if there is HTTP redirections



Tags:

return:  The length of current received header
access:  protected


Parameters:

object   $curl   The curl instance
string   $header   The header received

[ Top ]

method sendRequest [line 48]

array sendRequest( AS2Abstract $request)

Send request to the partner (manage headers, security, ...)



Tags:

access:  public


Parameters:

AS2Abstract   $request   The request to send (instanceof : AS2Message | AS2MDN)

[ Top ]


Documentation generated on Wed, 03 Nov 2010 22:51:30 +0100 by phpDocumentor 1.4.3