PHP 인터페이스 Swift_Transport_SmtpAgent, Halite

저자: Chris Corbyn
파일 보기 프로젝트 열기: HaliteChallenge/Halite 0 사용 예제들

공개 메소드들

메소드 설명
executeCommand ( string $command, int[] $codes = [], string[] &$failures = null ) Run a command against the buffer, expecting the given response codes.
getBuffer ( ) : Swift_Transport_IoBuffer Get the IoBuffer where read/writes are occurring.

메소드 상세

executeCommand() 공개 메소드

If no response codes are given, the response will not be validated. If codes are given, an exception will be thrown on an invalid response.
public executeCommand ( string $command, int[] $codes = [], string[] &$failures = null )
$command string
$codes int[]
$failures string[] An array of failures by-reference

getBuffer() 공개 메소드

Get the IoBuffer where read/writes are occurring.
public getBuffer ( ) : Swift_Transport_IoBuffer
리턴 Swift_Transport_IoBuffer