메소드 | 설명 | |
---|---|---|
__construct ( string $server ) | Constructs a new REST client instance for the given $server. | |
request ( string $method, string $path, |
Execute a HTTP request to the remote server. |
메소드 | 설명 | |
---|---|---|
getRequestHeaders ( array $headers ) : string | Get formatted request headers. |
public __construct ( string $server ) | ||
$server | string | Remote server location. Must include the used protocol. |
protected getRequestHeaders ( array $headers ) : string | ||
$headers | array | |
리턴 | string |