Skip to content

Commit

Permalink
updates for Swoole 4.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
deminy committed Mar 14, 2019
1 parent 26c8f16 commit e2d966c
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 5 deletions.
5 changes: 5 additions & 0 deletions output/alias/Http/Client/Exception.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php
namespace Co\Http\Client
{
class Exception extends \Swoole\Coroutine\Http\Client\Exception {}
}
8 changes: 4 additions & 4 deletions output/constants.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
define('SWOOLE_VERSION', '4.3.0');
define('SWOOLE_VERSION_ID', 40300);
define('SWOOLE_VERSION', '4.3.1');
define('SWOOLE_VERSION_ID', 40301);
define('SWOOLE_MAJOR_VERSION', 4);
define('SWOOLE_MINOR_VERSION', 3);
define('SWOOLE_RELEASE_VERSION', 0);
define('SWOOLE_RELEASE_VERSION', 1);
define('SWOOLE_EXTRA_VERSION', '');
define('SWOOLE_DEBUG', '');
define('SWOOLE_BASE', 1);
Expand Down Expand Up @@ -159,7 +159,7 @@
define('SWOOLE_HTTP_CLIENT_ESTATUS_REQUEST_TIMEOUT', -2);
define('SWOOLE_HTTP_CLIENT_ESTATUS_SERVER_RESET', -3);
define('SWOOLE_DEFAULT_MAX_CORO_NUM', 3000);
define('SWOOLE_MAX_CORO_NUM_LIMIT', 9223372036854775807);
define('SWOOLE_CORO_MAX_NUM_LIMIT', 9223372036854775807);
define('SWOOLE_CORO_INIT', 0);
define('SWOOLE_CORO_WAITING', 1);
define('SWOOLE_CORO_RUNNING', 2);
Expand Down
2 changes: 1 addition & 1 deletion output/functions.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* @since 4.3.0
* @since 4.3.1
*/

function swoole_version(){}
Expand Down
31 changes: 31 additions & 0 deletions output/namespace/Coroutine/Http/Client/Exception.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?php
namespace Swoole\Coroutine\Http\Client;

class Exception extends \Swoole\Exception
{

protected $message;
protected $code;
protected $file;
protected $line;

/**
* @param $message[optional]
* @param $code[optional]
* @param $previous[optional]
* @return mixed
*/
public function __construct($message = null, $code = null, $previous = null){}

/**
* @return mixed
*/
public function __wakeup(){}

/**
* @return mixed
*/
public function __toString(){}


}
1 change: 1 addition & 0 deletions output/namespace/Coroutine/Socket.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class Socket

public $fd;
public $errCode;
public $errMsg;

/**
* @param $domain[required]
Expand Down

0 comments on commit e2d966c

Please sign in to comment.