PHP 클래스 Kohkimakimoto\Worker\HttpServer\HttpServer

파일 보기 프로젝트 열기: kohkimakimoto/workerphp

보호된 프로퍼티들

프로퍼티 타입 설명
$apiKeys
$booted
$eventLoop
$host
$http
$output
$port
$router
$socket
$worker

공개 메소드들

메소드 설명
__construct ( $worker, $output, $eventLoop, $router )
boot ( )
getAPIKeys ( )
listen ( $port = 8080, $host = '0.0.0.0' )
outputAccessLog ( $request, $status )
setAPIKey ( $apiKey )
shutdown ( )

메소드 상세

__construct() 공개 메소드

public __construct ( $worker, $output, $eventLoop, $router )

boot() 공개 메소드

public boot ( )

getAPIKeys() 공개 메소드

public getAPIKeys ( )

listen() 공개 메소드

public listen ( $port = 8080, $host = '0.0.0.0' )

outputAccessLog() 공개 메소드

public outputAccessLog ( $request, $status )

setAPIKey() 공개 메소드

public setAPIKey ( $apiKey )

shutdown() 공개 메소드

public shutdown ( )

프로퍼티 상세

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

protected $apiKeys

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

protected $booted

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

protected $eventLoop

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

protected $host

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

protected $http

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

protected $output

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

protected $port

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

protected $router

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

protected $socket

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

protected $worker