コード例 #1
0
ファイル: UCloud_HttpClient.php プロジェクト: pennyShi/UFile
 public function RoundTrip($req)
 {
     return UCloud_Client_Do($req);
 }
コード例 #2
0
ファイル: http.php プロジェクト: hsiun/yoyo
 public function RoundTrip($req)
 {
     if ($this->Type === HEAD_FIELD_CHECK) {
         $token = $this->Auth->SignRequest($req, $this->MimeType, $this->Type);
         $req->Header['Authorization'] = $token;
     }
     return UCloud_Client_Do($req);
 }