\Yurun\UtilYurunHttp

Summary

Methods
Properties
Constants
setDefaultHandler()
getDefaultHandler()
getHandler()
send()
websocket()
getAttributes()
getAttribute()
setAttribute()
No public properties found
VERSION
No protected methods found
No protected properties found
N/A
No private methods found
$defaultHandler
$attributes
N/A

Constants

VERSION

VERSION = '4.2'

版本号

Properties

$defaultHandler

$defaultHandler : string|null

默认处理器类

Type

string|null

$attributes

$attributes : array

属性

Type

array

Methods

setDefaultHandler()

setDefaultHandler(string|null  $class) : void

设置默认处理器类

Parameters

string|null $class

getDefaultHandler()

getDefaultHandler() : string|null

获取默认处理器类

Returns

string|null

getAttributes()

getAttributes() : array

获取所有全局属性

Returns

array

getAttribute()

getAttribute(string  $name, mixed  $default = null) : mixed

获取全局属性值

Parameters

string $name
mixed $default

Returns

mixed

setAttribute()

setAttribute(string  $name, mixed  $value) : mixed

设置全局属性值

Parameters

string $name
mixed $value

Returns

mixed