PHP 클래스 Mongrel2\Connection

파일 보기 프로젝트 열기: winks/m2php 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $sender_id, $sub_addr, $pub_addr )
deliver ( $uuid, $idents, $data )
deliver_http ( $uuid, $idents, $body, $code = 200, $status = "OK", $headers = null )
deliver_json ( $uuid, $idents, $data )
recv ( )
recv_json ( )
reply ( $req, $msg )
reply_http ( $req, $body, $code = 200, $status = "OK", $headers = null )
reply_json ( $req, $data )
send ( $uuid, $conn_id, $msg )

메소드 상세

__construct() 공개 메소드

public __construct ( $sender_id, $sub_addr, $pub_addr )

deliver() 공개 메소드

public deliver ( $uuid, $idents, $data )

deliver_http() 공개 메소드

public deliver_http ( $uuid, $idents, $body, $code = 200, $status = "OK", $headers = null )

deliver_json() 공개 메소드

public deliver_json ( $uuid, $idents, $data )

recv() 공개 메소드

public recv ( )

recv_json() 공개 메소드

public recv_json ( )

reply() 공개 메소드

public reply ( $req, $msg )

reply_http() 공개 메소드

public reply_http ( $req, $body, $code = 200, $status = "OK", $headers = null )

reply_json() 공개 메소드

public reply_json ( $req, $data )

send() 공개 메소드

public send ( $uuid, $conn_id, $msg )