PHP 클래스 PHPDaemon\SockJS\Methods\Generic

저자: Vasily Zorin ([email protected])
상속: extends PHPDaemon\HTTPRequest\Generic
파일 보기 프로젝트 열기: kakserpom/phpdaemon 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$allowedMethods
$bytesSent
$cacheable
$callbackParamEnabled
$errors
$frames
$gcEnabled
$heartbeatOnFinish
$heartbeatTimer
$opts
$path
$poll
$pollMode
$serverId
$sessId
$stage
$stopped

공개 메소드들

메소드 설명
afterHeaders ( ) : void afterHeaders
gcCheck ( ) : void gcCheck
init ( ) : void Constructor
internalServerError ( ) : void internalServerError
onFinish ( ) : void On finish
out ( string $s, boolean $flush = true ) : boolean Output some data
outputFrame ( string $s, boolean $flush = true ) : boolean Output some data
run ( ) : void Called when request iterated
s2c ( object $redis ) : void s2c
stop ( ) : void Stop
w8in ( ) : void w8in

보호된 메소드들

메소드 설명
CORS ( ) : void CORS
acquire ( callable $cb ) : void acquire
anotherConnectionStillOpen ( ) : void anotherConnectionStillOpen
contentType ( string $type ) : void contentType
error ( integer $code ) : void error
noncache ( ) : void noncache
poll ( callable $cb = null ) : void Poll
sendFrame ( string $frame ) : void Send frame

메소드 상세

CORS() 보호된 메소드

CORS
protected CORS ( ) : void
리턴 void

acquire() 보호된 메소드

acquire
protected acquire ( callable $cb ) : void
$cb callable
리턴 void

afterHeaders() 공개 메소드

afterHeaders
public afterHeaders ( ) : void
리턴 void

anotherConnectionStillOpen() 보호된 메소드

anotherConnectionStillOpen
protected anotherConnectionStillOpen ( ) : void
리턴 void

contentType() 보호된 메소드

contentType
protected contentType ( string $type ) : void
$type string Content-Type
리턴 void

error() 보호된 메소드

error
protected error ( integer $code ) : void
$code integer
리턴 void

gcCheck() 공개 메소드

gcCheck
public gcCheck ( ) : void
리턴 void

init() 공개 메소드

Constructor
public init ( ) : void
리턴 void

internalServerError() 공개 메소드

internalServerError
public internalServerError ( ) : void
리턴 void

noncache() 보호된 메소드

noncache
protected noncache ( ) : void
리턴 void

onFinish() 공개 메소드

On finish
public onFinish ( ) : void
리턴 void

out() 공개 메소드

Output some data
public out ( string $s, boolean $flush = true ) : boolean
$s string String to out
$flush boolean
리턴 boolean Success

outputFrame() 공개 메소드

Output some data
public outputFrame ( string $s, boolean $flush = true ) : boolean
$s string String to out
$flush boolean
리턴 boolean Success

poll() 보호된 메소드

Poll
protected poll ( callable $cb = null ) : void
$cb callable
리턴 void

run() 공개 메소드

Called when request iterated
public run ( ) : void
리턴 void

s2c() 공개 메소드

s2c
public s2c ( object $redis ) : void
$redis object
리턴 void

sendFrame() 보호된 메소드

Send frame
protected sendFrame ( string $frame ) : void
$frame string
리턴 void

stop() 공개 메소드

Stop
public stop ( ) : void
리턴 void

w8in() 공개 메소드

w8in
public w8in ( ) : void
리턴 void

프로퍼티 상세

$allowedMethods 보호되어 있는 프로퍼티

protected $allowedMethods

$bytesSent 보호되어 있는 프로퍼티

protected $bytesSent

$cacheable 보호되어 있는 프로퍼티

protected $cacheable

$callbackParamEnabled 보호되어 있는 프로퍼티

protected $callbackParamEnabled

$errors 보호되어 있는 프로퍼티

protected $errors

$frames 보호되어 있는 프로퍼티

protected $frames

$gcEnabled 보호되어 있는 프로퍼티

protected $gcEnabled

$heartbeatOnFinish 보호되어 있는 프로퍼티

protected $heartbeatOnFinish

$heartbeatTimer 보호되어 있는 프로퍼티

protected $heartbeatTimer

$opts 보호되어 있는 프로퍼티

protected $opts

$path 보호되어 있는 프로퍼티

protected $path

$poll 보호되어 있는 프로퍼티

protected $poll

$pollMode 보호되어 있는 프로퍼티

protected $pollMode

$serverId 보호되어 있는 프로퍼티

protected $serverId

$sessId 보호되어 있는 프로퍼티

protected $sessId

$stage 보호되어 있는 프로퍼티

protected $stage

$stopped 보호되어 있는 프로퍼티

protected $stopped