request() 공개 메소드

Returns the result from the remote server.
public request ( string $method, string $path, Message $message = null ) : Message
$method string
$path string
$message Message
리턴 Message
예제 #1
0
 /**
  * Flushes data from memory to the index storage.
  */
 public function flush()
 {
     $this->client->request("POST", "/_flush?full=false&force=false");
 }
예제 #2
0
 /**
  * Flushes data from memory to the index storage.
  */
 public function flush()
 {
     $this->client->request('POST', '/_flush?full=false&force=false');
 }